r/javascript • • Mar 18 '19

What's your favorite, most useful javascript one-liner?

385 Upvotes

422 comments sorted by

View all comments

Show parent comments

6

u/anlumo Mar 19 '19

If I'm reading the description correctly, that extension doesn't actually turn off the cookies, it just hides the popup.

2

u/BluudLust Mar 19 '19 edited Mar 19 '19

Enable firefox's built in "Do Not Track" features (it can block resources too now), use UBlock Origin, and Decentraleyes, and you've got everything you want. Still allows session cookies and everything for proper functionality, but prevents all ways to track you (3rd party stuff, and tracking via CDN) otherwise. Probably should use HTTPS Everywhere too as a safety precaution too.

5

u/anlumo Mar 19 '19

Google now tracks via the injected JavaScript, meaning that they’re no longer third party cookies and also not on the CDN. I'm sure others do as well.