Symptoms: Thousands of iframe created by ublock itself
What happened:
Some poorly written web page repeat
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle" style="display:block" width-responsive="true"></ins>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
everywhere instead of only the <ins> tag.
And ublock inject iframes everytime when you are loading the script
Possibly violating code: https://github.com/gorhill/uBlock/blob/caa8e7d35ba61214a9d13e7d324b2bd2aa73237f/src/web_accessible_resources/googlesyndication_adsbygoogle.js#L38-L46
It inject iframe without checking whether it already exist or not
A specific URL where the issue occurshttps://www.esjzone.cc/detail/1563843171.html
Steps to Reproduce<ins class="adsbygoogle"/><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
about 20 ~ 30 timesNothing happened, as there is just several tags
Actual behavior:Ublock inject thousands of iframes into the page, lag the page very seriously.
You won't even able to open the firefox console
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4