Ad Slayer
New Member
Hello,
I had a look at the way AdGuard gets rid of unwanted content on web pages. It seems items inside the web page are hidden with CSS rules. The CSS selectors used to identify the DOM nodes (HTML tags) could also be used to remove the nodes straight out from the source code, instead of letting them in, and hiding them. For instance, if you want to get rid of a div with an id called "ads-left", using a CSS selector, AdGuard could locate this specific div within the source code, strip it out, and return the clean web page to the web browser. I think this would be a more elegant way of cleaning the pages.
I had a look at the way AdGuard gets rid of unwanted content on web pages. It seems items inside the web page are hidden with CSS rules. The CSS selectors used to identify the DOM nodes (HTML tags) could also be used to remove the nodes straight out from the source code, instead of letting them in, and hiding them. For instance, if you want to get rid of a div with an id called "ads-left", using a CSS selector, AdGuard could locate this specific div within the source code, strip it out, and return the clean web page to the web browser. I think this would be a more elegant way of cleaning the pages.