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.

2024-08-16 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

लेखक
Dan WL (DanWL)
रेटिंग
0 0 0
आवृत्ती
1.1
बनवली
2024-08-14
अपडेट केली
2024-08-16
आकार
4.15 KB
License
MIT
यांवर लागू होते:
सर्व संकेतस्थळे

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 can 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.
// means a comment - remove it to active the exclusion.

	// start config

	var clearWebsiteDataEveryXMilliseconds = 200;// any number
	var websitesToNotRunOn = {
		// anything requiring google account:
		// 'https://accounts.google.com': true,
		// google docs:
		// 'https://docs.google.com': true,
		// 'https://contacts.google.com': true,
		// stay signed into youtube:
		// 'https://accounts.youtube.com': true,
		// 'https://www.youtube.com': true,
		// reddit requires cookies to work
		// 'https://www.reddit.com': true,
		// add more if you want to
	};

	// end config