首页 | 最近更改 | 编辑本页 | 较早版本

可打印版 | 免责声明

Not logged in
登录 | 帮助
 

Firefox:除去所有Flash

Mozilla中文Wiki

参考了Flashblock的源代码。做了少量更改。

/*
 * Flash Click to View by Ted Mielczarek (luser_mozilla@perilith.com)
 * Original code by Jesse Ruderman (jruderman@hmc.edu)
 * taken from http://www.squarefree.com/userstyles/xbl.html
 *
 * Change XBL binding for <object> tags, click to view flash
 */

/*
 * Flash identifiers.
*/
object[classid$=":D27CDB6E-AE6D-11cf-96B8-444553540000"],
object[codebase*="swflash.cab"],
embed[type="application/x-shockwave-flash"],
embed[src*=".swf"],
object[type="application/x-shockwave-flash"],
object[src*=".swf"]
{ display:none !important; }

/*
 * Director identifiers.
*/
object[classid$=":166B1BCA-3F9C-11CF-8075-444553540000"],
object[codebase*="sw.cab"],
embed[type="application/x-director"],
embed[src*=".dcr"],
object[type="application/x-director"],
object[src*=".dcr"]
{ display:none !important;  }

/*
 * Load flash files that are called directly by the browser without interference from flashblock.
*/
embed[name="plugin"]
{ -moz-binding: none; }

取自"http://wiki.mozcn.org/index.php/Firefox:%E9%99%A4%E5%8E%BB%E6%89%80%E6%9C%89Flash"

本页面已经被浏览2851次。 最后更改09:36 2006年4月17日. 本站内容在创作共用署名-非商业用途-保持一致条款下发布。


[首页]
首页
最近更改
随机页面
新闻动态

编辑本页
讨论本页
较早版本
链入页面
链出更改

特殊页面
错误报告