dillbyrne / random-agent-spoofer

Firefox addon - Rotates complete browser profiles ( from real browsers / devices ) at a user defined time interval. It includes many extra privacy enhancing options
https://addons.mozilla.org/en-US/firefox/addon/random-agent-spoofer/
GNU General Public License v3.0
615 stars 108 forks source link

Whitelist to disable plugin for certain sites #305

Open eNTi opened 9 years ago

eNTi commented 9 years ago

first things first: great work! 2nd: i've read the documentation now... i still think it would be great if a "turn off completely for site X" was available.

flyingzebras commented 8 years ago

I totally agree. I disabled this add-on because I use AMO (addons.mozilla.org) a lot, and the default download buttons becomes disabled.

eNTi commented 8 years ago

@flyingzebras this can be achieved by putting {"url":"addons.mozilla.org","options":["canvas"]} onto the whitelist and having a farily recent "Whitelist Profile" (above "Whiteliste Rules"). the site will tell you which addons are available by looking at your user agent and disables the buttons accordingly if you don't do that.

flyingzebras commented 8 years ago

@eNTi Changing [{"url":"play.google.com"},{"url":"s.ytimg.com","options":["canvas"]},{"url":"youtube.com","options":["canvas"]}] to [{"url":"play.google.com"},{"url":"s.ytimg.com","options":["canvas"]},{"url":"youtube.com","options":["canvas"]}], {"url":"addons.mozilla.org","options":["canvas"]} gives a red border around the Whitelist Rules text field box.

eNTi commented 8 years ago

]}], {"url":"addons.mozilla.org","options":["canvas"]} to ]}, {"url":"addons.mozilla.org","options":["canvas"]}]

flyingzebras commented 8 years ago

@eNTi Thanks.

This works as you described (green border around the text area): [{"url":"addons.mozilla.org","options":["canvas"]},{"url":"play.google.com"},{"url":"s.ytimg.com","options":["canvas"]},{"url":"youtube.com","options":["canvas"]}]

Whitelist says: The options in this section are only available in the github version so the Enable whitelist support cannot be enabled for me as I'm using the AMO (https://addons.mozilla.org/en-US/firefox/addon/random-agent-spoofer/) version of Random Agent Spoofer

flyingzebras commented 8 years ago

https://github.com/dillbyrne/random-agent-spoofer/issues/317 https://github.com/dillbyrne/random-agent-spoofer/issues/318

dillbyrne commented 8 years ago

@eNTi I can't have an option to turn off completely for site x because some of the preferences are global so will apply to all sites regardless. In the next release the toggle system has been reimplemented so you can quickly enable/disable the addon from the context menu if needed (and the preferences will be saved and reapplied when you reenable the addon ) and also the real profile will work with script injection options too.