rebuilding site Mon Sep 7 02:32:38 PM CST 2020

This commit is contained in:
James Feng Cao 2020-09-07 14:32:38 +08:00
parent ed5aec17fb
commit dc11f56086
1 changed files with 0 additions and 2 deletions

View File

@ -1,4 +1,2 @@
站内搜索:'';window.open('i:15site:' + location.hostname)
背景图:'';{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()}}
新窗口打开链接:'';{d=document,b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b);}
google translate:'https://translate.google.cn/translate_a/element.js?cb=googleTranslateElementInit';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)