Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

inject.preload.js failing to load a file in chrome from my dev environment

Looks like it is officially broken. The issue is ticketed at https://issues.adblockplus.org/ticket/6744

I tried to debug and find the exact cause, but the issue seems to be elsewhere. The JS code debugged (inject.preload.js at line 373)

document.documentElement.appendChild(script); // here, script.src is indeed a valid script
document.documentElement.removeChild(script);
URL.revokeObjectURL(url);

The script's src attribute targets a valid blob JS which is alive when this line is called!


the ticket is on review and they working on it. Now you can add the entire test site to your trusted sites

enter image description here


I installed an older version of Chrome and I solved the problem. https://www.slimjet.com/chrome/google-chrome-old-version.php


If you have any adBlocker then remove or pause for that specific page adBlocker, it worked for me i had the same issue with JavaScript Application when fetching data from Firestore.


In the comment https://issues.adblockplus.org/ticket/6744#comment:17 , you can find a link to build list https://downloads.adblockplus.org/devbuilds/adblockpluschrome/, install the development version "Adblock Plus for Google Chrome and Opera 3.1.0.2069" and the error won't display anymore

build list

updated

On 2018.7.17 the new verison with bug fixed is released on chrome webstore. So this issue is automatically resolved.