Add no-floc scriptlet

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1553
This commit is contained in:
Raymond Hill 2021-04-11 07:11:09 -04:00
parent 7bf9a83d8e
commit 5a48917b80
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 12 additions and 0 deletions

View File

@ -665,6 +665,18 @@
})(); })();
/// no-floc.js
// https://github.com/uBlockOrigin/uBlock-issues/issues/1553
(function() {
if ( document.interestCohort instanceof Function === false ) { return; }
document.interestCohort = new Proxy(document.interestCohort, {
apply: function() {
return Promise.reject();
}
});
})();
/// remove-attr.js /// remove-attr.js
/// alias ra.js /// alias ra.js
(function() { (function() {