电脑的各个浏览器打开任何网站里面都会出现一个广告代码,怎么去掉??

电脑教程012

电脑的各个浏览器打开任何网站里面都会出现一个广告代码,怎么去掉??,第1张

你好

根据描述,你的电脑有风险广告插件,建议及时使用腾讯电脑管家对你的电脑进行全面的病毒查杀,推荐在安全模式下操作,杀毒更彻底

另外,你也可以使用腾讯电脑管家工具箱的广告过滤工具进行过滤,勾选过滤规则即可,希望可以帮到您,望采纳

腾讯电脑管家企业平台:http://zhidao.baidu.com/c/guanjia/

PHP网页打开自动弹出广告,五秒后自动关闭的网页代码如下:

新建网页写入代码即可

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>网页弹出广告窗口 boaer.com</title>

<meta http-equiv="Content-Type" content="text/htmlcharset=utf-8" />

<style type="text/css">

body,html{margin:0padding:0font-size:12pxfont-family:Arialfont:12px/1 Helvetica, Tahoma, Arial, \5b8b\4f53, sans-serif}

.fixedMask{position:fixeddisplay:nonetop:0left:0z-index:999width:100%height:100%background:#000filter:alpha(opacity=30)opacity:0.3}

* html { background:url(*) fixed}

* html body { margin:0height:100%}

* html .fixedMask{ position: absoluteleft: expression(documentElement.scrollLeft + documentElement.clientWidth - this.offsetWidth)top: expression(documentElement.scrollTop + documentElement.clientHeight - this.offsetHeight)}

#ad{width:570pxheight:345pxborder:1px solid #333border-top-width:5pxposition:absolutez-index:9999left:50%margin-left:-290pxtop:50%margin-top:-175pxdisplay:none}

#ad a{display:blockposition:absolutetext-decoration:noneright:0top:0pxfont: 12px/1.5 arialbackground:#B50000padding:2px 5pxcolor:#fff}

#ad a:hover{background:red}

</style>

</head>

<body>

<iframe scrolling="no" src="http://boaer.com" style="width:100%height:1000px"></iframe>

<div id="ad">

<a href="#1" >关闭</a>

<img src="http://home.blueidea.com/attachment/201006/4/194782_1275642410qVBm_m.jpg" alt="" />

</div>

</body>

<script type="text/javascript">

//<![CDATA[

alert('5秒后自动关掉!')

function Mask() {

if (Mask.instance) return Mask.instance

this.el = document.body.appendChild(document.createElement('DIV'))

this.el.className = 'fixedMask'

Mask.instance = this

}

Mask.prototype = {

show: function(fn) {

this.el.style.display = 'block'

fn&&fn()

},

hide: function(fn) {

this.el.style.display = 'none'

fn&&fn()

}

}

var x=new Mask()

var AD=document.getElementById('ad')

AD.getElementsByTagName('A')[0].onclick=hide

x.show(function (){

AD.style.display='block'

})

setTimeout(hide,5000)

function hide(){

x.hide(function (){

AD.style.display='none'

})

}

//]]>

</script>

</html>

点击网页空白处弹出广告,是因为网站主添加了点击网页空白处弹出窗口的广告代码。解决IE浏览器弹出广告的方法:1、单击打开 Internet Explorer。 2、单击“工具”按钮,指向“弹出窗口阻止程序”,然后单击“弹出窗口阻止程序设置”。在“锁定级别”下,选择“高:阻止所有弹出式窗口”,然后单击“关闭”。3、如果您希望在启用该设置时看到被阻止的弹出式窗口,请在窗口打开时按住 Ctrl+Alt。解决火狐浏览器弹出广告的方法:1、打开火狐浏览器,然后点击上部的工具,点击火狐右上角的“打开菜单”进入2、然后点击附加组件,在搜索里面搜索“Adblock Plus”3、在右上角的搜索栏里输入Adblock Plus点击第一个然后安装就可以(前三个都是去除网页广告的,可随便添加)。