encoding '+' in links

This commit is contained in:
James Feng Cao 2023-04-29 15:01:22 +08:00
parent 64224d5cc6
commit 830c97bf91
6 changed files with 14 additions and 14 deletions

View File

@ -66,7 +66,7 @@
<p><a href="i:04Site search:;open('i:15site:' + location.hostname)">Site search:;open('i:15site:' + location.hostname)</a></p>
<p><a href="i:04Spell check:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v">Spell check:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v</a></p>
<p><a target="_self" href="i:0gdefault.rjs::google translate:['https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit'];b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:[]},'google_translate_element');}%0A">Google translate</a></p>
<p><a target="_self" href="i:0gdefault.rjs::google translate2en:['https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit'];location.hash=location.hash+'#googtrans(en)';b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:[]},'google_translate_element');}%0A">Google translate to English</a></p>
<p><a target="_self" href="i:0gdefault.rjs::google translate2en:['https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit'];location.hash=location.hash%2B'#googtrans(en)';b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:[]},'google_translate_element');}%0A">Google translate to English</a></p>
<p>Remote script configuration file &quot;default.rjs&quot; whose lines have the following format:<br>
[script name]:[javascript code to return url arrays]</p>
<h4 id="activated-scripts">Activated scripts</h4>
@ -77,7 +77,7 @@
</div>
<p>Last Modified: 29 April 2023<br>
add google translate for restricted area<br>
fix &#39;&#43;&#39; in links for rjs.py<br>
<pre></pre>
</p>

View File

@ -58,7 +58,7 @@
/>
</url><url>
<loc>/en/</loc>
<lastmod>2023-04-29T13:34:57+08:00</lastmod>
<lastmod>2023-04-29T14:57:17+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -113,7 +113,7 @@
/>
</url><url>
<loc>/en/topposts/</loc>
<lastmod>2023-04-29T13:34:57+08:00</lastmod>
<lastmod>2023-04-29T14:57:17+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -291,7 +291,7 @@
/>
</url><url>
<loc>/en/rjs/</loc>
<lastmod>2023-04-29T13:34:57+08:00</lastmod>
<lastmod>2023-04-29T14:57:17+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"

View File

@ -4,14 +4,14 @@
<sitemap>
<loc>en/sitemap.xml</loc>
<lastmod>2023-04-29T13:34:57+08:00</lastmod>
<lastmod>2023-04-29T14:57:17+08:00</lastmod>
</sitemap>
<sitemap>
<loc>zh/sitemap.xml</loc>
<lastmod>2023-04-29T14:24:45+08:00</lastmod>
<lastmod>2023-04-29T14:58:20+08:00</lastmod>
</sitemap>

View File

@ -64,8 +64,8 @@
<p><a href="i:04新窗口打开链接:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)">新窗口打开链接:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)</a></p>
<p><a href="i:04站内搜索:;open('i:15site:' + location.hostname)">站内搜索:;open('i:15site:' + location.hostname)</a></p>
<p><a href="i:04编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v">编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v</a></p>
<p><a target="_self" href="i:0gdefault.rjs::Google译至简体:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];location.hash=location.hash+'#googtrans(zh-CN)';b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,autoDisplay:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');}%0A">免魔法Google翻译至简体</a></p>
<p><a target="_self" href="i:0gdefault.rjs::Google translate2en:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];location.hash=location.hash+'#googtrans(en)';b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,autoDisplay:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');}%0A">免魔法Google翻译至英文</a></p>
<p><a target="_self" href="i:0gdefault.rjs::Google译至简体:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];location.hash=location.hash%2B'#googtrans(zh-CN)';b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,autoDisplay:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');}%0A">免魔法Google翻译至简体</a></p>
<p><a target="_self" href="i:0gdefault.rjs::Google translate2en:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];location.hash=location.hash%2B'#googtrans(en)';b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,autoDisplay:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');}%0A">免魔法Google翻译至英文</a></p>
<p>远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。<br>
<a target="_self" href="i:0gdefault.rjs:../searchurl/txt/rjs.cfg">点击安装免魔法google翻译、背景图等</a></p>
<p>远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算)<br>
@ -74,7 +74,7 @@
</div>
<p>Last Modified: 29 April 2023<br>
add google translate for restricted area<br>
fix &#39;&#43;&#39; in links for rjs.py<br>
<pre></pre>
</p>

View File

@ -29,7 +29,7 @@
/>
</url><url>
<loc>/zh/</loc>
<lastmod>2023-04-29T14:24:45+08:00</lastmod>
<lastmod>2023-04-29T14:58:20+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -126,7 +126,7 @@
/>
</url><url>
<loc>/zh/topposts/</loc>
<lastmod>2023-04-29T14:04:43+08:00</lastmod>
<lastmod>2023-04-29T14:58:20+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -252,7 +252,7 @@
<lastmod>2022-09-24T14:06:03+08:00</lastmod>
</url><url>
<loc>/zh/rjs/</loc>
<lastmod>2023-04-29T14:04:43+08:00</lastmod>
<lastmod>2023-04-29T14:58:20+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"

View File

@ -100,7 +100,7 @@ UA为非默认时点击PC按钮将恢复UA为默认同时触发不保存UA
</div>
<p>Last Modified: 29 April 2023<br>
add google translate for restricted area<br>
fix &#39;&#43;&#39; in links for rjs.py<br>
<pre></pre>
</p>