Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
vane112805y@powerfulparadox thanks you can check it out on github I have same nick there, code is shit but it works.
Not in safari somehow.
Anyway navigating trough some web now and it never been faster. -
@vane I'll certainly do that. It sounds like a nice medium between adlock and pi-hole.
-
vane112805y@jesustricks I made a shortcut in my mind but what I meant is that there are websites that detect that you run adblock by just running javascript.
But if you cut traffic before browser gets it any reasonable software developer will assume there is network problem but it isn’t.
You don’t deal with browser problems like different / changing / blocked api.
You don’t traverse dom by looking for elements. You just cut requests.
Funny fact is most of gdpr popups are delivered by third party so you can cut them too. -
@vane that is interesting and now makes sense to me why solutions like pihole and yours can be way more effective than the blocking being done in the browser.
Like, a browser extension can do so much. It's basically browser userland. -
vane112805y@jesustricks yeah there is hook in browser plugin api to load script before page load and all adblock plugins work like that.
On the other hand pihole use dnsmasq that points unwanted website / ip to localhost.
Dnsmasq don’t support regex by default so block lists are very long. -
vane112805y@powerfulparadox I might make new project and add dns and tcp/udp traffic filters but don’t know where my mind will lead me to 😂
-
What proxies can't, but good adblockers can, is remove first party ads and analytics.
Anyway, well done.
Related Rants
Trying to learn some golang after a break.
Made http / https transparent proxy for personal project.
Mind: You need to add configuration file with domains you allow traffic and block everything else using list of regex.
Me: Ok I can do it, 4 hours later ok done
Mind: Why not make it differently by making list of url you can block and test this shit on fucking ads and stop using adblock that downloads content.
Me: ok that will be handy I can watch websites faster and drop traffic I don’t want to.
Funny fact, it works I broke analytics, logging, quantum shit fucks and even youtube plays ok.
Go is awesome for networking stuff lol.
rant
proxy
fuck advertising
golang