开发者

firefox disable/enable add-on in a specific page

I'm programming a system to work with in firefox, based on high end javascript.

The users sometimes uses add-ons that conflict with the 开发者_运维知识库system.

Is there a way i can control from my web-site to disable or enable specific firefox add-ons in a page?

Thanks.


You can do it inside an add-on, prior to Firefox 4 there was the nsIExtensionManager interface, starting with Firefox 4 there is the AddonManager object


I would say no, I wouldn't want sites I browse doing anything to my browser add-ons unless I said they could.

With things like Firebug you CAN detect them though and warn the user, then it's down to them to turn them off and not you.

And here's another thought...imagine me turning off your Adblock because my site doesn't work well with it ;)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜