coupletv4_fortech.js
来自「最强的爬虫工程」· JavaScript 代码 · 共 23 行
JS
23 行
var MSIE=navigator.userAgent.indexOf("MSIE");var OPER=navigator.userAgent.indexOf("Opera");var bdy = (document.documentElement && document.documentElement.clientWidth)?document.documentElement:document.body;var cplheight;var cplleft;function adshowCouplet(){ if(MSIE!=-1 && OPER==-1 && ifCouplet){ cplheight = bdy.offsetWidth>1200?100:273; cplleft = bdy.offsetWidth>1200?15:30; document.getElementById('couplet_left').style.visibility='visible'; document.getElementById('couplet_right').style.visibility='visible'; document.getElementById('couplet_left').style.top=cplheight+'px'; document.getElementById('couplet_left').style.left=cplleft+'px'; document.getElementById('couplet_right').style.top=cplheight+'px'; document.getElementById('couplet_right').style.right=cplleft+'px'; }else{ document.getElementById('couplet_left').style.visibility='hidden'; document.getElementById('couplet_right').style.visibility='hidden'; } setTimeout("adshowCouplet();",50)}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?