-3

I would like to disable add-ons in firefox using javascript.I see some similar questions but the answers does not work for me.

  • 4
    I think I speak for the internet when I say, `keep your hands off my add-ons` – Jaromanda X Nov 30 '15 at 10:51
  • Please provide what you have tried, how you wish this to be done and your reasons for doing so. I'd be tempted to say on the client side it isn't or shouldn't be possible, else sites would be able to disable ad-blockers. – NMunro Nov 30 '15 at 10:51
  • 1
    `see some similar questions but the answers does not work for me` - link to one – Jaromanda X Nov 30 '15 at 10:51
  • 2
    @Jaromanda, not a problem, I'll just write an add-on to disable the scripts that are trying to disable my add-ons... wait... – Frédéric Hamidi Nov 30 '15 at 10:52
  • 2
    @FrédéricHamidi - good luck, because then I'll write a script to disable the add-on that disables the scripts that ... where was I, my head hurts :p – Jaromanda X Nov 30 '15 at 10:53

1 Answers1

2

You can't just disable any arbitrary addon using JS.

If that were possible, any ad service or website that displays ads would shut down plugins like adblock.
Interfering with a user's browser like that isn't possible. The level of access required would also open browsers up to all kinds of malicious content.

So, basically:

What you want ain't possible. And for good reason.

Cerbrus
  • 70,800
  • 18
  • 132
  • 147