mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
add google translate bookmarklets
This commit is contained in:
parent
e9ecf66872
commit
398ba8c89a
9 changed files with 20 additions and 27 deletions
|
@ -80,7 +80,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<p>Last Modified: 29 April 2023<br>
|
<p>Last Modified: 29 April 2023<br>
|
||||||
fix '+' in links for rjs.py<br>
|
add google translate in rjs.py<br>
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
@ -67,8 +67,6 @@
|
||||||
<p><a href="i:04New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)">New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)</a></p>
|
<p><a href="i:04New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)">New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)</a></p>
|
||||||
<p><a href="i:04Site search:;open('i:15site:' + location.hostname)">Site search:;open('i:15site:' + location.hostname)</a></p>
|
<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 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%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 "default.rjs" whose lines have the following format:<br>
|
<p>Remote script configuration file "default.rjs" whose lines have the following format:<br>
|
||||||
[script name]:[javascript code to return url arrays]</p>
|
[script name]:[javascript code to return url arrays]</p>
|
||||||
<h4 id="activated-scripts">Activated scripts</h4>
|
<h4 id="activated-scripts">Activated scripts</h4>
|
||||||
|
@ -79,7 +77,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<p>Last Modified: 29 April 2023<br>
|
<p>Last Modified: 29 April 2023<br>
|
||||||
fix '+' in links for rjs.py<br>
|
add google translate in rjs.py<br>
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/en/</loc>
|
<loc>/en/</loc>
|
||||||
<lastmod>2023-04-29T21:10:54+08:00</lastmod>
|
<lastmod>2023-04-29T21:37:35+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="zh"
|
hreflang="zh"
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/en/topposts/</loc>
|
<loc>/en/topposts/</loc>
|
||||||
<lastmod>2023-04-29T21:10:54+08:00</lastmod>
|
<lastmod>2023-04-29T21:37:35+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="zh"
|
hreflang="zh"
|
||||||
|
@ -291,7 +291,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/en/rjs/</loc>
|
<loc>/en/rjs/</loc>
|
||||||
<lastmod>2023-04-29T21:10:54+08:00</lastmod>
|
<lastmod>2023-04-29T21:37:35+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="zh"
|
hreflang="zh"
|
||||||
|
|
|
@ -4,14 +4,14 @@
|
||||||
<sitemap>
|
<sitemap>
|
||||||
<loc>en/sitemap.xml</loc>
|
<loc>en/sitemap.xml</loc>
|
||||||
|
|
||||||
<lastmod>2023-04-29T21:10:54+08:00</lastmod>
|
<lastmod>2023-04-29T21:37:35+08:00</lastmod>
|
||||||
|
|
||||||
</sitemap>
|
</sitemap>
|
||||||
|
|
||||||
<sitemap>
|
<sitemap>
|
||||||
<loc>zh/sitemap.xml</loc>
|
<loc>zh/sitemap.xml</loc>
|
||||||
|
|
||||||
<lastmod>2023-04-29T21:10:20+08:00</lastmod>
|
<lastmod>2023-04-29T21:47:55+08:00</lastmod>
|
||||||
|
|
||||||
</sitemap>
|
</sitemap>
|
||||||
|
|
||||||
|
|
|
@ -496,6 +496,8 @@ gozer 广告屏蔽样式
|
||||||
极速网页
|
极速网页
|
||||||
大型脚本可安装到&quot;bookmarklet&quot;目录下(长按js按钮):
|
大型脚本可安装到&quot;bookmarklet&quot;目录下(长按js按钮):
|
||||||
免魔法google翻译
|
免魔法google翻译
|
||||||
|
免魔法Google翻译至简体
|
||||||
|
免魔法Google翻译至英文
|
||||||
Eruda
|
Eruda
|
||||||
Performance
|
Performance
|
||||||
移除覆盖物
|
移除覆盖物
|
||||||
|
@ -507,10 +509,8 @@ Selection to paragraph:;let g='paragraph';getSelection().modify('mov
|
||||||
新窗口打开链接:;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)
|
||||||
站内搜索:;open('i:15site:' + location.hostname)
|
站内搜索:;open('i:15site:' + location.hostname)
|
||||||
编辑器拼写检查:;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
|
||||||
免魔法Google翻译至简体
|
|
||||||
免魔法Google翻译至英文
|
|
||||||
远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:
|
远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:
|
||||||
点击安装免魔法google翻译、背景图等
|
点击安装背景图等
|
||||||
远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):
|
远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):
|
||||||
[远程脚本名]:[返回url数组的javascript代码]
|
[远程脚本名]:[返回url数组的javascript代码]
|
||||||
其中url可以为本地http脚本地址。譬如'https://local/...' (本地html5应用或离线缓存)。此时,js脚本也可使用.link文件方式调用。</description>
|
其中url可以为本地http脚本地址。譬如'https://local/...' (本地html5应用或离线缓存)。此时,js脚本也可使用.link文件方式调用。</description>
|
||||||
|
|
|
@ -54,6 +54,8 @@
|
||||||
<a target="_self" href="i:0hjs/极速网页.js:https://fastly.jsdelivr.net/npm/instant.page">极速网页</a></p>
|
<a target="_self" href="i:0hjs/极速网页.js:https://fastly.jsdelivr.net/npm/instant.page">极速网页</a></p>
|
||||||
<p><b>大型脚本</b>可安装到"bookmarklet"目录下(长按js按钮):<br>
|
<p><b>大型脚本</b>可安装到"bookmarklet"目录下(长按js按钮):<br>
|
||||||
<a target="_self" href="i:0hbookmarklet/!google翻译.js:https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js:%0A{let d=document,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:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');}}">免魔法google翻译</a></p>
|
<a target="_self" href="i:0hbookmarklet/!google翻译.js:https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js:%0A{let d=document,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:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');}}">免魔法google翻译</a></p>
|
||||||
|
<p><a target="_self" href="i:0hbookmarklet/!Google至简体:https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js:%0A{let d=document;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');}}">免魔法Google翻译至简体</a></p>
|
||||||
|
<p><a target="_self" href="i:0hbookmarklet/!Google至英文:https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js:%0A{let d=document;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');}}">免魔法Google翻译至英文</a></p>
|
||||||
<p><a target="_self" href='i:0hbookmarklet/eruda.js:https://fastly.jsdelivr.net/npm/eruda:%0Aeruda.init()'>Eruda</a></p>
|
<p><a target="_self" href='i:0hbookmarklet/eruda.js:https://fastly.jsdelivr.net/npm/eruda:%0Aeruda.init()'>Eruda</a></p>
|
||||||
<p><a target="_self" href="i:0hbookmarklet/performance.js:https://fastly.jsdelivr.net/gh/micmro/performance-bookmarklet/dist/performanceBookmarklet.min.js">Performance</a><br>
|
<p><a target="_self" href="i:0hbookmarklet/performance.js:https://fastly.jsdelivr.net/gh/micmro/performance-bookmarklet/dist/performanceBookmarklet.min.js">Performance</a><br>
|
||||||
<a target="_self" href="i:0hbookmarklet/移除覆盖物.js:../searchurl/bml/content/rmo.js">移除覆盖物</a></p>
|
<a target="_self" href="i:0hbookmarklet/移除覆盖物.js:../searchurl/bml/content/rmo.js">移除覆盖物</a></p>
|
||||||
|
@ -65,17 +67,15 @@
|
||||||
<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新窗口打开链接:;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站内搜索:;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 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%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>
|
<p>远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:<br>
|
||||||
<a target="_self" href="i:0gdefault.rjs:../searchurl/txt/rjs.cfg">点击安装免魔法google翻译、背景图等</a></p>
|
<a target="_self" href="i:0gdefault.rjs:../searchurl/txt/rjs.cfg">点击安装背景图等</a></p>
|
||||||
<p>远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):<br>
|
<p>远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):<br>
|
||||||
[远程脚本名]:[返回url数组的javascript代码]</p>
|
[远程脚本名]:[返回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>
|
<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>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<p>Last Modified: 29 April 2023<br>
|
<p>Last Modified: 29 April 2023<br>
|
||||||
fix '+' in links for rjs.py<br>
|
add google translate in rjs.py<br>
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1 @@
|
||||||
背景图:;{document.deepCss=function(a,b){if(!a||!a.style)return'';let c=b.replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()});if(a.currentStyle)return a.style[c]||a.currentStyle[c]||'';let d=document.defaultView||window;return a.style[c]||d.getComputedStyle(a,'').getPropertyValue(b)||''};Array.prototype.indexOf=Array.prototype.indexOf||function(a,b){b=b||0;for(let c=this.length;b<c;){if(this[b]===a)return b;++b}return-1};let e=function(){let a,b=[],c=document.getElementsByTagName('*');for(c=b.slice.call(c,0,c.length);c.length;)(a=document.deepCss(c.shift(),'background-image'))&&(a=/url\(['"]?([^")]+)/.exec(a)||[]),(a=a[1])&&-1==b.indexOf(a)&&(b[b.length]=a);return b}();if(0<e.length){let d=window.open('').document;d.write('<html><head><title>Background images</title></head></body>');for(let f=0;f<e.length;f++)d.write('<img src='),d.write(e[f]),d.write('>');d.write('</body></html>');d.close()}}
|
背景图:;{document.deepCss=function(a,b){if(!a||!a.style)return'';let c=b.replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()});if(a.currentStyle)return a.style[c]||a.currentStyle[c]||'';let d=document.defaultView||window;return a.style[c]||d.getComputedStyle(a,'').getPropertyValue(b)||''};Array.prototype.indexOf=Array.prototype.indexOf||function(a,b){b=b||0;for(let c=this.length;b<c;){if(this[b]===a)return b;++b}return-1};let e=function(){let a,b=[],c=document.getElementsByTagName('*');for(c=b.slice.call(c,0,c.length);c.length;)(a=document.deepCss(c.shift(),'background-image'))&&(a=/url\(['"]?([^")]+)/.exec(a)||[]),(a=a[1])&&-1==b.indexOf(a)&&(b[b.length]=a);return b}();if(0<e.length){let d=window.open('').document;d.write('<html><head><title>Background images</title></head></body>');for(let f=0;f<e.length;f++)d.write('<img src='),d.write(e[f]),d.write('>');d.write('</body></html>');d.close()}}
|
||||||
google翻译:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];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:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');}
|
|
||||||
googleTranslate2en:['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,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');}
|
|
||||||
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,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');}
|
|
||||||
google翻译至繁体:['https://fastly.jsdelivr.net/gh/torappinfo/js1@main/element.js'];location.hash=location.hash+"#googtrans(zh-TW)";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:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');}
|
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/zh/</loc>
|
<loc>/zh/</loc>
|
||||||
<lastmod>2023-04-29T21:10:20+08:00</lastmod>
|
<lastmod>2023-04-29T21:47:55+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="en"
|
hreflang="en"
|
||||||
|
@ -126,7 +126,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/zh/topposts/</loc>
|
<loc>/zh/topposts/</loc>
|
||||||
<lastmod>2023-04-29T21:10:20+08:00</lastmod>
|
<lastmod>2023-04-29T21:47:55+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="en"
|
hreflang="en"
|
||||||
|
@ -252,7 +252,7 @@
|
||||||
<lastmod>2022-09-24T14:06:03+08:00</lastmod>
|
<lastmod>2022-09-24T14:06:03+08:00</lastmod>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/zh/rjs/</loc>
|
<loc>/zh/rjs/</loc>
|
||||||
<lastmod>2023-04-29T21:10:20+08:00</lastmod>
|
<lastmod>2023-04-29T21:47:55+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="en"
|
hreflang="en"
|
||||||
|
|
|
@ -198,6 +198,8 @@ tgz install::toybox tar -xzf %f -C /
|
||||||
极速网页
|
极速网页
|
||||||
大型脚本可安装到&quot;bookmarklet&quot;目录下(长按js按钮):
|
大型脚本可安装到&quot;bookmarklet&quot;目录下(长按js按钮):
|
||||||
免魔法google翻译
|
免魔法google翻译
|
||||||
|
免魔法Google翻译至简体
|
||||||
|
免魔法Google翻译至英文
|
||||||
Eruda
|
Eruda
|
||||||
Performance
|
Performance
|
||||||
移除覆盖物
|
移除覆盖物
|
||||||
|
@ -209,10 +211,8 @@ Selection to paragraph:;let g='paragraph';getSelection().modify('mov
|
||||||
新窗口打开链接:;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)
|
||||||
站内搜索:;open('i:15site:' + location.hostname)
|
站内搜索:;open('i:15site:' + location.hostname)
|
||||||
编辑器拼写检查:;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
|
||||||
免魔法Google翻译至简体
|
|
||||||
免魔法Google翻译至英文
|
|
||||||
远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:
|
远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:
|
||||||
点击安装免魔法google翻译、背景图等
|
点击安装背景图等
|
||||||
远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):
|
远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):
|
||||||
[远程脚本名]:[返回url数组的javascript代码]
|
[远程脚本名]:[返回url数组的javascript代码]
|
||||||
其中url可以为本地http脚本地址。譬如'https://local/...' (本地html5应用或离线缓存)。此时,js脚本也可使用.link文件方式调用。</description>
|
其中url可以为本地http脚本地址。譬如'https://local/...' (本地html5应用或离线缓存)。此时,js脚本也可使用.link文件方式调用。</description>
|
||||||
|
|
Loading…
Reference in a new issue