-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blocking googlesyndication.com causes ##ins.adsbygoogle[data-ad-slot] not being applied #3203
Comments
Requires It's initially |
Also does not work. No idea. When element is visible, so it's not Yyyyy, because procedurals require to be specific?? Works when specific :? |
Yes, works if specific. So maybe the problem is in DOM surveyor? |
The surveyor does not trigger on attribute changes, only on layout changes. View-source shows that the class name is <div id="bancho_adsense_nodefooter" style="margin:0; display:flex; flex-wrap:wrap; justify-content:space-around; gap:1em 0; padding:.5em 0; overflow:hidden">
<div style="display:inline-block; width:300px; max-width:300px; margin:0; overflow:hidden">
<ins class="adsbygoogle_ph" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-4894439427301282" data-ad-slot="1000693078" data-ad-format="auto"></ins>
</div>
<div style="display:inline-block; width:300px; max-width:300px; margin:0; overflow:hidden">
<ins class="adsbygoogle_ph" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-4894439427301282" data-ad-slot="2477426276" data-ad-format="auto"></ins>
</div>
</div> It works if relying on the attribute which does not change:
Or when using specific filter:
I consider this is a duplicate of gorhill/uBlock#1885, see my comment closing the issue. |
All right, I'll ask filter authors if we can change the rule to |
Not worth risking breaking what works well now for the sake of one case found which requires an easy workaround. |
Prerequisites
I tried to reproduce the issue when...
Description
As the title says.
A specific URL where the issue occurs.
https://webtan.impress.co.jp/n/2017/05/12/25720
Steps to Reproduce
##ins.adsbygoogle[data-ad-slot]
to My filters.Disable all the three listsUnblockgooglesyndication.com
by dynamic rule and add##ins.adsbygoogle[data-ad-slot]
if not yet done, refresh the page and see now the placeholder is partly hidden.Expected behavior
##ins.adsbygoogle[data-ad-slot]
should be applied as no$generichide
or whatsoeverActual behavior
Described
uBO version
1.57.0
Browser name and version
Chrome 123.0.6312.106 and Firefox 124.0.2
Operating System and version
Windows 10
The text was updated successfully, but these errors were encountered: