maximelebreton / quick-javascript-switcher

A Chrome Extension to enable / disable javascript 'on the fly'
https://chrome.google.com/webstore/detail/geddoclleiomckbhadiaipdggiiccfje
254 stars 49 forks source link

Updates are removing the current exclusion list from Chrome #5

Closed flick1999 closed 11 years ago

flick1999 commented 12 years ago

The last couple of updates have removed the exclusion list from Chrome, forcing me to "re-authorize" the sites I wish to allow JS.

To be clear: I run Chrome with JS turned off for all sites by default, then use this extension to enable it on a site by site basis. In most cases I leave it enabled; in some, I disable it. The latter is the reason I use this script over the built-in way Chrome handles it. So, over time, I build up a large list of sites that JS is allowed and I don't have to mess with it.

However, the last couple of times that this extension has updated, my custom list has been reset to empty. Minor but annoying.

Thanks!

Peter

Come4Bugs commented 12 years ago

May be to provide a way to export / import the list is better for this extension, coz cannot edit either

flick1999 commented 12 years ago

Well isn't this interesting? I was going to reply with "you can go to chrome://chrome/settings/contentExceptions#javascript and edit the exceptions list there," but when I pulled that up I discovered that I had a mix of removable and irremovable entries. I recognize some of the ones on the irremovable list as ones I've used this extension to enable.

Still, FWIW, I've grown used to occasionally having to re-authorize JS on sites I visit and trust and it doesn't bug me as much. Still bugs me, but from a security point of view, I'd rather sites default to locked down when it's reset.

maximelebreton commented 11 years ago

Chrome dont remember list exclusion when the extension is updated or refreshed,

I've provided a way to import / export list trough localstorage (in the options page). If the exclusion list disappears, go to the options page, and you'll find your rules saved in a text area. (and a button to reimport them).

For the updates, now they are detected and refilled automatically from localstorage content.

It's not perfect but i hope you'll find it useful.

Give me your feedback please.

flick1999 commented 11 years ago

Thanks. I'll test it out on the next update and see how it goes.