fix: config not reaching content.js — race condition with script removal
The data-ss-config attribute on the script tag was being removed (via script.onload) before content.js could read it. Changed approach: inject config as a separate <script type="application/json" id="ss-config-data"> element that persists in the DOM until content.js reads and removes it. This eliminates the race condition between script execution and onload removal. Bump 0.9.20. https://claude.ai/code/session_01KF4i7Ra7zCEDskxDBaNtcT
This commit is contained in:
@@ -629,7 +629,7 @@
|
||||
</section>
|
||||
|
||||
<footer>
|
||||
<p>Silent Send v0.9.19</p>
|
||||
<p>Silent Send v0.9.20</p>
|
||||
<p style="font-size:11px;color:#9ca3af;margin-top:6px;max-width:600px">
|
||||
Silent Send is a convenience tool, not a security guarantee. Third-party sites may change how they send data at any time, which can cause missed substitutions without warning. You are responsible for verifying your data before sending. See the <a href="https://github.com/outis1one/silent-send/blob/main/LICENSE" target="_blank" style="color:#6b7280">LICENSE</a> for full terms.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user