mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Sat Apr 9 05:05:39 PM CST 2022
This commit is contained in:
parent
d9a57eaab7
commit
08a1a92d8b
2 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
<a target="_self" href="i:0h/sdcard/uweb/js/极速网页.js:https://cdn.jsdelivr.net/npm/instant.page">极速网页</a></p>
|
||||
|
||||
<p><b>大型脚本</b>可安装到"/sdcard/uweb/bookmarklet"目录下(长按js按钮):<br>
|
||||
<a target="_self" href="i:0h/sdcard/uweb/bookmarklet/google翻译.js:https://cdn.jsdelivr.net/gh/damengzhu/js1@main/element.js:%0A{let d=document,b=d.body,v=d.createElement('div');v.id='google_translate_element';v.style.display='none';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({pageLanguage: 'auto',includedLanguages:'zh-CN,zh-TW,en'},'google_translate_element');}}">google翻译</a><br>
|
||||
<a target="_self" href='i:0h/sdcard/uweb/bookmarklet/eruda.js:https://cdn.jsdelivr.net/npm/eruda:%0Aeruda.init()'>Eruda</a><br>
|
||||
<a target="_self" href="i:0h/sdcard/uweb/bookmarklet/彩云小译.js:https://caiyunapp.com/dest/trs.js">彩云小译</a><br>
|
||||
<a target="_self" href="i:0h/sdcard/uweb/bookmarklet/performance.js:https://cdn.jsdelivr.net/gh/micmro/performance-bookmarklet/dist/performanceBookmarklet.min.js">Performance</a><br>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
背景图:'';{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://cdn.jsdelivr.net/gh/damengzhu/js1@main/element.js';b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style.display='none';b.insertBefore(v,b.firstChild);p=d.createElement('script');p.text="function googleTranslateElementInit(){new google.translate.TranslateElement({pageLanguage: 'auto',includedLanguages:'zh-CN,zh-TW,en'},'google_translate_element');}";p.type='text/javascript';b.appendChild(p)
|
||||
google翻译:'https://cdn.jsdelivr.net/gh/damengzhu/js1@main/element.js';b=d.body;v=d.createElement('div');v.id='google_translate_element';v.style.display='none';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({pageLanguage: 'auto',includedLanguages:'zh-CN,zh-TW,en'},'google_translate_element');}
|
||||
|
|
Loading…
Reference in a new issue