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; }
![[首页]](/stylesheets/images/wiki.png)