MarcellPerger1 / adblock-bookmarklet

A bookmarklet to remove ads.
MIT License
6 stars 3 forks source link

Reduce W3Schools RAM usage by removing some iframes etc. #38

Closed MarcellPerger1 closed 5 months ago

MarcellPerger1 commented 5 months ago

W3Schools RAM usage is 1.2GB - can easily be reduce to 500MB (I think) by removing all the ad iframes after the body.


Original issue: Sometimes doesn't block W3Schools ads (the ones on the right side bar in this link): https://www.w3schools.com/java/java_regex.asp

This is because the regex doesn't match id=stickyadcontainer

MarcellPerger1 commented 5 months ago

W3Schools is an IMMSENSELY ad-heavy and RAM-heavy website - 1.2GB of one single W3Schools tab that could easily be just a simple HTML page is COMPLETELY UNACCEPTABLE (1.0GB without the ads (that this bookmarklet is able to block)!).

EDIT: Actually that only happens if Devtools is open - otherwise it uses 'just' 500MB.

MarcellPerger1 commented 5 months ago

Actually I can't reproduce this any more but I still want to fix the excessive RAM usage.