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>

View File

@ -1,10 +1 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>en/</title>
<link rel="canonical" href="en/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=en/">
</head>
</html>
<meta http-equiv="refresh" content="0; url=en/index.html">

View File

@ -124,6 +124,7 @@ Android TV可利用顺序搜索使用箭头按钮切换频道。顺序搜索引
Personal use, not for public
Personal use 2
网络剪贴板
txtpad
Wait for url from other devices
gamezop
分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。

View File

@ -51,6 +51,7 @@
<a href="https://s1.asytech.cn/s/JoNbk7N8K74HHNW">Personal use, not for public</a><br>
<a href="https://www.123pan.com/s/cKA9-HFUCA">Personal use 2</a><br>
<a href="https://netcut.cn">网络剪贴板</a><br>
<a href="https://txtpad.cn">txtpad</a><br>
<a href="i:1c">Wait for url from other devices</a><br>
<a href="https://www.gamezop.com">gamezop</a></p>
<h3 id="分类书签模板">分类书签模板</h3>

View File

@ -303,6 +303,7 @@ Android TV可利用顺序搜索使用箭头按钮切换频道。顺序搜索引
Personal use, not for public
Personal use 2
网络剪贴板
txtpad
Wait for url from other devices
gamezop
分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。
@ -412,8 +413,7 @@ Selection to paragraph:;let g=&#39;paragraph&#39;;getSelection().modify(&#39;mov
点击安装google翻译、背景图等
远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算)
[远程脚本名]:[返回url数组的javascript代码]
其中url可以为本地http脚本地址。譬如&#39;https://local/...&#39; (本地html5应用或离线缓存)。此时js脚本也可使用.link文件方式调用。
CORS (Cross-Origin Resource Share)白名单 &amp;quot;default.redirect&amp;quot;文件中放入需要允许的域名后面再跟两个冒号表示这个重定向实际上不发生作用。勾写选项“资源重定向”后可无条件允许访问此域名的CORS请求。</description>
其中url可以为本地http脚本地址。譬如&#39;https://local/...&#39; (本地html5应用或离线缓存)。此时js脚本也可使用.link文件方式调用。</description>
</item>
<item>

View File

@ -72,8 +72,6 @@
<p>远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算)<br>
[远程脚本名]:[返回url数组的javascript代码]</p>
<p>其中url可以为本地http脚本地址。譬如'https://local/...' (<a href="../html5/index.html">本地html5应用</a><a href="../offlinecache/index.html">离线缓存</a>)。此时js脚本也可使用<a href="../links/index.html">.link文件</a>方式调用。</p>
<h4 id="cors-cross-origin-resource-share白名单">CORS (Cross-Origin Resource Share)白名单</h4>
<p>&quot;<a href="../redirect/index.html">default.redirect</a>&quot;文件中放入需要允许的域名后面再跟两个冒号表示这个重定向实际上不发生作用。勾写选项“资源重定向”后可无条件允许访问此域名的CORS请求。</p>
</div>

View File

@ -215,8 +215,7 @@ Selection to paragraph:;let g=&#39;paragraph&#39;;getSelection().modify(&#39;mov
点击安装google翻译、背景图等
远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算)
[远程脚本名]:[返回url数组的javascript代码]
其中url可以为本地http脚本地址。譬如&#39;https://local/...&#39; (本地html5应用或离线缓存)。此时js脚本也可使用.link文件方式调用。
CORS (Cross-Origin Resource Share)白名单 &amp;quot;default.redirect&amp;quot;文件中放入需要允许的域名后面再跟两个冒号表示这个重定向实际上不发生作用。勾写选项“资源重定向”后可无条件允许访问此域名的CORS请求。</description>
其中url可以为本地http脚本地址。譬如&#39;https://local/...&#39; (本地html5应用或离线缓存)。此时js脚本也可使用.link文件方式调用。</description>
</item>
</channel>