diff --git a/main.js b/main.js index 2967a58..57eb230 100644 --- a/main.js +++ b/main.js @@ -111,7 +111,27 @@ function getBlocker() { function enableBlockingInSession(sess) { getBlocker() - .then(b => { b.enableBlockingInSession(sess); console.log('[adblock] enabled for session'); }) + .then(b => { + b.enableBlockingInSession(sess); + // Remove the cliqz preload script that the blocker just registered on this + // session. The preload injects inline