Archive for the ‘浏览器’ Category

为IE的iframe元素应用背景或透明背景(Applying background to Iframe for IE)

今天才发现,万恶的IE居然iframe无法用css设置背景。

在网上搜了一会儿,发现大家都在叫苦连天,没有好的解决方案。(有的甚至连javascript都用上了。。。)

突然在IE Developer Toolbar的自动补全列表中,发现一个属性,allowTransparency。

msdn说

Sets or retrieves whether the object can be transparent.

Remarks

When the property is set to false, the backgroundColor property of the object can only be that of the window. When the property is set to true, the backgroundColor property of the object can be set to any value, including the default value of transparent.

于是将iframe设置上allowtransparency="true" 实验通过。iframe变成透明的了。

反成都电信流氓广告3.0 Firefox插件 Anti-iPush 3.0 For Firefox Greasemonkey

啥也别说了,你应该对成都电信的流氓的6秒跳转广告恶心不已。

上次2.0的版本早已无效。经过重新研究,终于,Anti-iPush 3.0横空出世!

请先确认你是否安装Greasemonkey插件,Greasemonkey下载:

https://addons.mozilla.org/en-US/firefox/addon/748

Anti-iPush 3.0下载:

http://www.om19.cn/images/AntiiPush.user.js