CSS + JavaScript плагины для Opera

++CSS++
___
@charset "utf-8";

/* Name: Flash blocker (Text button + UserJS) */

/*
Description: Flash and Shockwave Blocker. Used identifiers from flashblock.xpi.
Comment: Only for Opera 9. Use this file together with FlashBlocker.js to play Flash by clicking on image.
*/

/*
* Flash identifiers.
*/
object[classid$=":D27CDB6E-AE6D-11cf-96B8-444553540000",
object[codebase*="swflash.cab",
object[data*=".swf",
embed[type="application/x-shockwave-flash",
embed[src*=".swf",
object[type="application/x-shockwave-flash",
object[src*=".swf",
iframe[src*=".swf"]
{
content:"Flash"attr(src) attr(data) "\A" attr(width) " x " attr(height) " px";
display: inline-block;
outline:1px dotted black;
font-size:smaller;
color: black;
background-color:#efefef;
text-align:left;
overflow: hidden;
cursor: hand;
}

/*
* Director identifiers.
*/
object[classid$=":166B1BCA-3F9C-11CF-8075-444553540000",
object[codebase*="sw.cab",
object[data*=".dcr",
embed[type="application/x-director",
embed[src*=".dcr",
object[type="application/x-director",
object[src*=".dcr"]
{
content:"Director"attr(src) attr(data) "\A" attr(width) " x " attr(height) " px";
display: inline-block;
outline:1px dotted black;
font-size:smaller;
color: black;
background-color:#efefef;
text-align:left;
overflow: hidden;
cursor: hand;
}

/*
* Authorware identifiers.
*/
object[classid$=":15B782AF-55D8-11D1-B477-006097098764",
object[codebase*="awswaxf.cab",
object[data*=".aam",
embed[type="application/x-authorware-map",
embed[src*=".aam",
object[type="application/x-authorware-map",
object[src*=".aam"]
{
content:"Authorware"attr(src) attr(data) "\A" attr(width) " x " attr(height) " px";
display: inline-block;
outline:1px dotted black;
font-size:smaller;
color: black;
background-color:#efefef;
text-align:left;
overflow: hidden;
cursor: hand;
}

/*
* Silverlight identifiers.
*/
object[classid*="32C73088-76AE-40F7-AC40-81F62CB2C1DA",
object[type="application/ag-plugin",
object[source*=".xaml",
object[sourceelement*="xaml",
embed[type="application/ag-plugin",
embed[source*=".xaml"]
{
content:"Silverlight"attr(src) attr(data) "\A" attr(width) " x " attr(height) " px";
display: inline-block;
outline:1px dotted black;
font-size:smaller;
color: black;
background-color:#efefef;
text-align:left;
overflow: hidden;
cursor: hand;
}
___

++JavaScript++
___
// ==UserScript==
// @name Flash unblocker
// @version 1.5.4 (Text buttons)
// @description Unblock Flash. Needs css strings, either from user.css or from an active, separate file like FlashBlocker.css.
// ==/UserScript==

document.addEventListener('click', function (e){
var et=e.target;var tag=et.tagName.toLowerCase();var stl='content:normal; outline: none; font-size:inherit; color: inherit; background-color:inherit;';
if. Tag=='embed' || tag=='object' || tag=='iframe') && getComputedStyle(et, null).content.indexOf('attr(src)')==0){
e.preventDefault();et.style=stl;var cn=et.getElementsByTagName('embed')[0];if(cn){cn.style=stl}
}
}, false)

document.addEventListener('mouseover', function (e){
var et=e.target;var n, v;
if(et.tagName.toLowerCase==='object' && ! Et.data && getComputedStyle(et, null).content.indexOf('attr(src)')==0){
for(var i=0, j; j=et.childNodes[i]; i++){
if(j.tagName && j.tagName.toLowerCase==='param'){n=j.getAttribute('name').toLowerCase();
if(n=='data' || n=='movie' || n=='src' || n=='url'){
v=j.getAttribute('value');et.setAttribute('data', (v[0]=='/')? Location.protocol+'//'+location.hostname+v: v);break;
}
}
}
}
}, false)
___

++ВОПРОС++
___
Что тут не так? Почему работает только CSS,
а JavaScript свои функции не выполняет?
___

Спроси на форуме оперы - там более вероятно помогут.