Blocks browser fingerprinting and third-party cookies
// ==UserScript==
// @name Browser Fingerprinting & Third-Party Cookies Blocker
// @namespace http://fpxtpc.41
// @version 1.0
// @description Blocks browser fingerprinting and third-party cookies
// @author FortyOne
// @license MIT
// @match *://*/*
// @grant none
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
// Block third-party cookies
document.cookie = 'sameSite=strict';
// Block browser fingerprinting
// Clearing canvas fingerprint
HTMLCanvasElement.prototype.toDataURL = function() {
return 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP89PwGHwAFYAJm6ocdgAAAABJRU5ErkJggg==';
};
})();