diff --git a/src/content_script.js b/src/content_script.js index b25fd44b..e48b3938 100644 --- a/src/content_script.js +++ b/src/content_script.js @@ -569,12 +569,7 @@ async function CheckIfURLShouldBeBlocked() { // Cross-browser implementation of element.addEventListener() function addPassiveWindowOnloadListener() { - const activeOnloadFunction = window.onload; window.addEventListener("load", function() { - // window.onload = function () { - if (typeof activeOnloadFunction === "function") { - activeOnloadFunction(); - } CheckIfURLShouldBeBlocked(); }, false); }