#shadow-root is being added

Everything about using Adblock Plus on Google Chrome
Post Reply
whydoyouaddashadowroot

#shadow-root is being added

Post by whydoyouaddashadowroot »

When Adblock Plus is enabled, every webpage has "#shadow-root" being added to the markup in Inspect Element / F12 in Chrome and odd shadow-dom behaviour. Disabling the extension removes the shadow-root problem for all pages upon refresh.

This has been extremely fustrating when webdeveloping trying to figure where the heck the problem was coming from. :evil:

Addblock Plus v:1.8.6
Chrome v:38.0.2125.104 m
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: #shadow-root is being added

Post by mapx »

well, the shadow stuff was implemented to fix some other issues
see for example: https://issues.adblockplus.org/ticket/309
whydoyouaddashadowroot

Re: #shadow-root is being added

Post by whydoyouaddashadowroot »

IMO this 'fix' behaviour is far worse than the original bug which affected seemingly a few sites using a weird css listing/disabling method.
But this Adblock Plus behaviour only seems to affect chrome, not FF with ABP.

So now instead of the 4 in a billion sites that want to use some css obscuring method for their stylesheets, a #shadow-root is turned on for every single webpage in chrome?
This is crazy for anyone trying to troubleshoot site web development.

If this is the only way to fix the issue with the sites, surely the #shadow-root feature should/could be an optional setting for the sites that require it?
Currently I must disable adblock as this is too irritating to deal with it messing with several <head> elements.

Please consider reverting or at least making this optional with the default as setting as disabled.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: #shadow-root is being added

Post by mapx »

insert your comment on the issue topic on the bug tracker (so ..the devs would give you an answer)
whydoyouaddashadowroot

Re: #shadow-root is being added

Post by whydoyouaddashadowroot »

I don't think I can?
The issue is shown as closed.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: #shadow-root is being added

Post by mapx »

yes, you can even if it's closed.
bugmenot
Posts: 2
Joined: Mon Dec 01, 2014 9:27 pm

Re: #shadow-root is being added

Post by bugmenot »

I have the same problem on Youtube, and the div with this "#shadow-root" closes with itself video-controls
bugmenot
Posts: 2
Joined: Mon Dec 01, 2014 9:27 pm

Re: #shadow-root is being added

Post by bugmenot »

The problem arises after a while (not immediately).
I can assume that maybe after a few switchings between tabs, or maybe after the start, a Java-script for advertising.

Image
Post Reply