Skip to content

Instantly share code, notes, and snippets.

@szszoke
Last active October 18, 2021 19:20
Show Gist options
  • Save szszoke/59314912d2d4f4a54a6bf695f1e9a387 to your computer and use it in GitHub Desktop.
Save szszoke/59314912d2d4f4a54a6bf695f1e9a387 to your computer and use it in GitHub Desktop.
My custom uBlock origin scriptlets
/// blocket-bypass-cookie-check.js
(function() {
// this will cause the consent check algorithm to think that the cookie banner was already shown
document.cookie = "ufti="+encodeURIComponent(JSON.stringify({version: 99999}))
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment