Live data from Hacker News

No adblocker detected

maurycyz.com

21–30 of 388 posts

Re: No adblocker detected

#21
post #19

Instead of document.cookie consider document.localStorage since there’s verbiage around showing a notice on your site if you use cookies, etc, for tracking purposes. At least with local storage, you aren’t using cookies :P

The law doesn't care whether it's a cookie or an equivalent.

And this cookie isn’t for tracking purposes anyway, so doesn’t require a notice.

Re: No adblocker detected

#22
post #10

The FBI also makes a good argument that adblockers prevent scammers from directing people to malicious sites. https://techcrunch.com/2022/12/22/fbi-ad-blocker/ https://web.archive.org/web/20230219020056/https://www.ic3.g...

I have said it years that adblocker is the best anti-virus these days.

I get miffed when corporations manage employee browsers and disable adblocker extensions.

Re: No adblocker detected

#23

I found it amusing that my proxy detected the "/ads/" in the URL and killed the connection automatically. Of course highlighting this fact that the presence of an adblocker is detectable, unfortunately only results in escalating the cat-and-mouse game further. I have also considered popularising a script that replaces the whole page's content with "JavaScript detected, please disable it to view this content and impro…

Ironically, the latter would probably end up being cat-and-mouse blocked by tools like the former.

Re: No adblocker detected

#24
post #10

Earlier quoted context omitted.

I have said it years that adblocker is the best anti-virus these days.

I get miffed when corporations manage employee browsers and disable adblocker extensions.

I don't understand why DNS ad blockers (Ad Guard, Pi-Hole, other) aren't frequently used across corporates. Especially given the regular-ish training on cybersecurity and related.

Re: No adblocker detected

#25
post #3

I wish browsers could just provide a way to disable javascript after page `onload`. Perhaps only enables js when user clicks something.

    setTimeout(() => {

        // fuck up all future javascripts

        setTimeout = setInterval = requestAnimationFrame = () => {};
        Element.prototype.appendChild = () => { throw new Error("Blocked"); };
        document.addEventListener = () => {};
        window.addEventListener = () => {};
        Object.defineProperty(document, "readyState", { get: () => { throw new Error("No JS"); } });
        document.write = () => {};

        // fuck up canvas
        if(window.HTMLCanvasElement) HTMLCanvasElement.prototype.getContext=()=>null; 

        // fuck up webgl
        if(window.WebGLRenderingContext) window.WebGLRenderingContext.prototype.getParameter=function(){e=>{throw new Error("Blocked")}};

        // fuck up webgl2
        if(window.WebGL2RenderingContext) window.WebGL2RenderingContext.prototype.getParameter=function(){e=>{throw new Error("Blocked")}};

        // fuck up websockets
        window.WebSocket=function(){e=>{throw new Error("Blocked")}}; window.EventSource=function(){e=>{throw new Error("Blocked")}};

        // fuck up popups
        window.open=()=>null;

        // ...

    }, 500);

Re: No adblocker detected

#27
post #6

Earlier quoted context omitted.

Now that I think of it, when a professional YouTuber shows their browser, more often than not, there is no ad-blocking. But as professional YouTubers, there is no way they are not aware of ad-blocking. I wonder if they actually watch the ads on purpose, even in private or if they turn their adblocker off just for the video, as not to give ideas to their viewers and potentially losing ad revenue.

A while back Linus Tech Tips said ad blockers are a form of unethical piracy. His audience accused him of spreading self-serving bullshit. Oddly, his position changed a few years later and he started promoting adblocking. The chance that he was using one the whole damn time? 100%

back in the heyday of the daily wtf there was a beautiful submission from a developer who worked for a banner ad company. got called into a VP's office one day and yelled at because some new annoying ad wasn't showing up where intended, a bunch of debugging later it turned out that the VP was running an ad blocker and had just forgotten about it.

Re: No adblocker detected

#28

Earlier quoted context omitted.

I've had it happen to me exactly once in the past few years. And a simple refresh fixed it. Definitely an overstatement to say it's common.

Somewhat common if a site is being overloaded.

That checks out, I feel like the place I've seen it the most is on Github, which also seems to be the site I use regularly that has the most frequent outages (which also aren't quite at the level I'd call them common, but still _somewhat_ common_ compared to everything else I use anywhere close to daily)

Re: No adblocker detected

#30
post #2

I wonder what the overlap between visitors to a site that would display this and visitors not already using an adblocker is. Then again I've seen developers with ads plastered all over their screens before, I'd like to believe it's a conscious decision on their part.

[deleted]
Post reply on HN