can you add components access
i had written
function GM_MozComponent(script){
}
GM_MozComponent.prototype.GM_getMozComponent=function (name1){
return Components.classes[name1];
}
GM_MozComponent.prototype.GM_getMozComponents=function(){return
Components;}
//and add in greasemonkey.js
sandbox.GM_getMozComponent=GM_hitch(componentManager,
"GM_getMozComponent",
safeWin, chromeWin);
sandbox.GM_getMozComponents=GM_hitch(componentManager,
"GM_getMozComponents",
safeWin, chromeWin);
but nothing works
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.