noscript
noscript copied to clipboard
Cleaning up top URL's DOMs individually [looking for advice]
Hi, many people (& users of our extensions) want a cleaner DOM on youtube.com/watch (top~2 example) - The source code starts with two
- We need to remove most of this to prevent the DOM from being built with it. (Consequently we should see more scripts throwing erros and more easily determine if those arent needed either. More: https://github.com/code-charity/youtube/issues/1211 )
- Planning to test this with Firefox' filterResponseData if there is no other option. https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/filterResponseData
- On scale this should save significant electricity & co2
Thus wondering how close we can get there with Chromium (including manifest2)?
/if you have tried & benchmarked such?
/If you wanna share advice or point to a method?
Thanks!
hi @Hackademic ☺👋