Microsoft has acquired GitHub. Decentraleyes has left GitHub. Welcome to its new home!

To participate, please register, or sign in with an existing, Bitbucket, or GitHub account.

Past contributions on GitHub? Be sure to reclaim your Comments, Issues, and Pull Requests.

Authored by Alaska

used for testing the crossorigin problem on localhost

 window.onload = function() {
    if (window.jQuery) {  
        alert("jQuery is loaded");
    } else {
        alert("jQuery is not loaded");
<script src='' crossorigin onerror="alert('onerror!')"></script>
 DCE testing on localhost of script tag attribute <a href="">problem</a>
 <p> note: crossorigin <--regex error, incorrect string replacement to noop caused by this right-angle bracket  > regex needs improvement or else use javascript to search-and-replace
 <p> note that this test also works with internet disconnected, so that eliminates any possibility of the problem being caused by CORS preflight
 <p>crossorigin <-- unchanged by regex to 'noop', because of no trailing right-angle bracket
23 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment