Skip to content

Commit

Permalink
Add no-floc scriptlet
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Apr 11, 2021
1 parent 7bf9a83 commit 5a48917
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/resources/scriptlets.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
/// alias ra.js
(function() {
Expand Down

0 comments on commit 5a48917

Please sign in to comment.