chrome devtools errors showing up on every page

Everything about using Adblock Plus on Google Chrome
Post Reply
jch
Posts: 1
Joined: Sun Aug 14, 2016 5:34 am

chrome devtools errors showing up on every page

Post by jch »

these errors show up in the console on every page. I have to disable the extension when working.

include.preload.js:425 Calling Element.createShadowRoot() for an element which already hosts a shadow root is deprecated. See https://www.chromestatus.com/features/4668884095336448 for more details.
(program):5

Uncaught TypeError: Cannot read property 'removeAttribute' of nullprotectStyleSheet @ include.preload.js:393


chrome Version 52.0.2743.116 m

Please fix this

thanks
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: chrome devtools errors showing up on every page

Post by mapx »

Give us examples of such pages.
What ABP version are you using ?

Did you try keeping only ABP enabled and disable all other extensions ?
Are you using 2 adblockers ? (ABP and AB)

Anyway, an issue was opened on the bug tracker:
https://issues.adblockplus.org/ticket/4328

You can also try the last dev build (disable / remove the stable ABP): en/development-builds#installation
In the last dev build the second issue was already fixed ("Cannot read property 'removeAttribute' ")
davidbastian
Posts: 1
Joined: Wed Aug 17, 2016 1:16 am

Re: chrome devtools errors showing up on every page

Post by davidbastian »

same issue here.
please resolve.

below an example.

Code: Select all

davidbastian.cl/proyectos/m/
(program):5 Uncaught TypeError: Cannot read property 'removeAttribute' of nullprotectStyleSheet @ include.preload.js:393
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: chrome devtools errors showing up on every page

Post by mapx »

In the last dev build the second issue was already fixed ("Cannot read property 'removeAttribute' ")
vchrizz
Posts: 1
Joined: Fri Nov 25, 2016 6:08 pm

Re: chrome devtools errors showing up on every page

Post by vchrizz »

Same issue here.

Error in Chrome developer tools:

Code: Select all

include.preload.js:468 Calling Element.createShadowRoot() for an element which already hosts a shadow root is deprecated. See https://www.chromestatus.com/features/4668884095336448 for more details.
The line differs, depending on what page you are, on another page i get this error on line 465.
Regarding line from include.preload.js:

Code: Select all

    var shadow = document.documentElement.createShadowRoot();
Even if you visit www.google.com this error shows up if the extension is enabled. Disabling ABP for this site does not fix it, the error is still present.

I'm using both AB and ABP, but that doesn't matter, cause when disabling extension ABP, the error won't show up.
Google Chrome Version 54.0.2840.99 m
Adblock Plus 1.12.4

Hope this is enough information to fix.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: chrome devtools errors showing up on every page

Post by mapx »

Never use 2 adblockers.
Try the last dev build: https://chrome.google.com/webstore/deta ... ifjjdoepkn
(it was fixed in the last dev build)
Post Reply