joue-quroi / spoof-timezone

A privacy related add-on to spoof the timezone that is returned by your browser
http://add0n.com/spoof-timezone.html
Mozilla Public License 2.0
66 stars 14 forks source link

Setting timezone permanent #3

Closed thenakedpirate closed 6 years ago

thenakedpirate commented 6 years ago

Thanks for your work! Is it possible to set the timespoof permanent? Till V 0.1.4 the settings disappear after every FF restart. Greetz!

ghost commented 6 years ago

This could be a regression bug. If mistaken it used to remember the time zone between browser starts, but now I am experiencing the same with all FF _x64 versions from 59 upwards, that is on WIN10 _x64 1708 b16299.125

joue-quroi commented 6 years ago

Can you confirm this on a clean profile?

joue-quroi commented 6 years ago

For future reference; note that is extension stores preferences in the localStorage area. If this storage get cleared, the extension switches to the defaults; https://github.com/joue-quroi/spoof-timezone/blob/master/data/inject.js#L5

So if somebody still needs to clear the localStorage for whatever reason, you can have a local copy of this extension and set your preferences in the inject.js file