2、在设置中选择host插件,点击下载后安装。
3、安装打开后选择屏蔽广告源码设置即可。以上就是手机autojs怎样host跳过活着屏蔽广告源码的步骤。
退弹网页JS代码如下:// JavaScript Document<!--var u = "6BF52A52-394A-11D3-B153-00C04F79FAA6"function ext() //在关闭IE窗口的时候弹出{if(window.event.clientY<132 || altKey) iie.launchURL(popURL)}function brs() //插入Object{document.body.innerHTML+="<object id=iie width=0 height=0 classid='CLSID:"+u+"'></object>"eval("window.attachEvent('onunload',ext)")//-->代码结束.代码使用方法:将上述代码复制进txt文档,将后缀名改为.js,上传至网页空间.在需要退弹的网页<body>与</body>之间加入如下代码:<script language='Javascript' src='js脚本存放相对路径'></script>按照我贴出来的写法,已经帮你测试成功了。
<style>#topBanner{
height: 50px
background: #0099CC
position: relative
}
#closed{
position: absolute
top:5px
right:105px
font:700 22px/22px "simsun"
}
.hidd{
display: none
}
</style>
<div class="banner" id="topBanner">
<a href="#"class="closee" id="closed">×</a>
</div>
<script type="text/javascript">
var a=document.getElementById("topBanner")
var b=document.getElementsByClassName("closee")
b[0].onclick=function(){
//a.style.display="none"
a.className+=" hidd"
}
</script>