3 ms·
Here is one way to clear localStorage without using Javacript, Add-Ons or Extensions: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data
by 1vuio0pswjnm7 6y ago
Here is one way to clear localStorage without using Javacript, Add-Ons or Extensions:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cl...
This response header can be added with a localhost-bound proxy server like, e.g., haproxy:
http-response add-header Clear-Site-Data *
Of course, the simplest solution is to just turn off JS before visiting medium; that should prevent any use of localStorage. I have never needed JS to read medium; it's just text. Text-only browser like links works fine.
- aembleton 6y agoOr, just block it, as you're using Firefox: 1. Open about:preferences 2. Go to Privacy & Security 3. Under Cookies and Site Data, click on 'Manage Exceptions' 4. Enter medium.com, click Block and then Save Changes.
- 1vuio0pswjnm7 6y agoIs there a way to disable Site Data globally for all sites? By using a proxy, I disable Site Data for all sites and if I need it for a specific site I can add an exception. It seems like Firefox, Chrome and probably others take the opposite approach. The default policy with these browsers is to enable Site Data globally for all sites. "Manage Exceptions" appears to refer to manual changes for every individual site that are required to deviate from this default "Go ahead and collect, store and track" policy.