remove CORS doc

This commit is contained in:
James Feng Cao 2022-10-27 10:08:38 +08:00
parent d559a9b550
commit 4a71bfda3b
7 changed files with 6 additions and 18 deletions

View file

@ -67,8 +67,6 @@
[script name]:[javascript code to return url arrays]</p>
<h4 id="allow-remote-js-on-csp-content-security-policy-sites">Allow remote js on CSP (Content Security Policy) sites</h4>
<p>All remote js (default.rjs) are allowed to execute on CSP sites. Local js files without remote resource access work fine when under the folder &quot;bookmarklet&quot;, others needs to be refered in default.rjs as http urls such as &quot;https://local/...&quot; (<a href="../html5/index.html">html5</a> or <a href="../offlinecache/index.html">offline cache</a>) .</p>
<h4 id="allow-cors-cross-origin-resource-share">Allow CORS (Cross-Origin Resource Share)</h4>
<p>Put a domain followed by &quot;::&quot; in the file &quot;<a href="../redirect/index.html">default.redirect</a>&quot; to allow CORS with the option &quot;resource redirection&quot;.</p>
</div>