I want to do this the simplest way possible, I don’t mind if it allows the element to load THEN hides it. Basically I want to do a different take than what’s been done before for YouTube comment blockers but I can’t figure out how to actually get my extension to block comments. I know limited HTML/CSS/JavaScript but I’m just not sure where to start. I already know what elements need to be consistently removed from the page but don’t know how to tell chrome to hide them.
EDIT: To go into further if possible I’d like to blog certain sections in the HTML based on their <div>.
Here is my Facebook Ads disabler:
manifest.json
main.js
This makes all the inside of the ID’s completely blank and re-runs every 2 seconds for when I go to new pages within facebook.