Ever since my last post here, I was trying to determine why I was having issues with the AdGuard browser extension & why it wouldn’t display certain images properly in the browsers I use. I only received a few responses from AdGuard support. We tried some troubleshooting, but that didn’t really get me very far. They did however assure me that they will look further into the issue, but I honestly have the feeling I won’t hear anything else from them. And the post I made on their forum only got 1 response which wasn’t much help at all & that was it. I haven’t seen or heard anything else. So, “Where does that leave you?” you might ask. In a difficult position to say the least.
TBH, I’ve been a bit angry that I haven’t gotten more help regarding this, but I’m not trying to take it personally; I’m just really frustrated about the whole ordeal. But after thinking it over in my mind, I actually had an inspiration: Is it possible for someone to create their own adblocker? [Not a program, just a browser extension & how difficult would it be for someone who has had no experience with coding or even creating a piece of software, etc.?]
Well, I think by now you guys know the drill: If you have anything to say, wish to ask, or need to know, just go right ahead & I’ll be sure to provide you with all the necessary details! Thanks in advance to anyone who might be able to help!
I see you are still having issues, and I’m really impressed that you’re looking at browser extensions.
Good on you!
I’ve never built a blocker myself, but use several, and have never built an extension, but might offer just a couple of things to start thinking?
There are already several extensions that you can use as inspiration, but first things first, you might want to work out which of the many forms of Ads you want to block?
Also, ads have been put there by the website creator.
Either by providing a box into which an advertising firm puts ads, or as a direct ad displayed by the website owner.
First work out which frames, boxes, pop-ups, redirects, cross-site-scripts etc you might want to block, then perhaps you can start on an extension?
Well, for starters you can add your own filters to uBlock Origin – it’s highly customizable.
Otherwise, you can go ahead and fork it, thus making your own variant of uBlock without the need to start from scratch.
Not to worry. I already know the types of ads I wish to block: just irrelevant ads on any websites, ones that can lead to malware/adware/viruses/ransomware, etc. There are TONS of ads even on these movie sites that can be really annoying! And I have tried other adblockers before, but it just seems like I haven’t been able to find the right fit ever since this issue with AdGuard.
So at least that should give you a ballpark figure as to what I’m after. Only problem is I’ve never actually coded, or even built a piece of software or a browser extension before. That tells you right there that I’m quite inexperienced but willing to learn nonetheless!
What’d be really nifty is if you could make it smarter than most other ad blockers and find some way of detecting ads without consulting a list of known domains as most ad blockers do.
IMO it depends on how deep down the rabbit hole you want to go. Programming a browser baised blocker from the ground up is way out of my knowledge range.
However I do know that a raspberry pie baised dns level add blocker “pie hole” is a fairly simple and fun project that is very well documented and almost anyone can accomplish might serve your purpose.
So you if don’t think Dissenter is worth it, then why bother to suggest it if it’s “basic”? Also, I have tried using ublock origin before, but I’m not really a fan of how all their settings are arranged. Just a little too cluttered for my tastes.
Yes it is. Learn JavaScript or TypeScript, HTML, and CSS. Then start learning from the UBlock Origin repo at GitHub. Once you know how Ublock Origin ticks, amend the code and take it to every web browser you want.
For example, Ublock Origin knows how to defeat Tweaktown’s and Yahoo Mail’s delayed check for missing ads.