Cookie and website data cleaner

Clears cookies and other website data when you go to websites if it isn't allowed to store website data. Edit the code to include websites that can store data.

Version au 14/08/2024. Voir la dernière version.

Auteur
Dan WL (DanWL)
Notes
0 0 0
Version
1.1
Créé
14/08/2024
Mis à jour
14/08/2024
Taille
3,57 ko
Licence
MIT
S'applique à
Tous les sites

This is not a replacement for a tracker blocker, it does not block network requests to tracking scripts. Some websites require use of JavaScript and make cookie banners that are very tedious if you want to disallow consent and disallow 'legitimate interest'. The functionality of pages may break when using this userscript.

You must provide a list of websites within the code to not clear website data from.
To do this, open your userscript manager's menu, find this script then edit it.
The only parts that should be edited are between the // start config and // end config comments:

	// start config

	var clearWebsiteDataEveryXMilliseconds = 200;// any number
	var websitesToNotRunOn = {
		// enter in format 'https://example.com': true,
	};

	// end config