Live data from Hacker News

No adblocker detected

maurycyz.com

31–40 of 388 posts

Re: No adblocker detected

#31
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.

The "law" only applies if you live in the EU anyway.

Re: No adblocker detected

#32
> No adblocker detected. Consider using an extension like uBlock Origin to save time and bandwidth.

And attention and privacy.

This notice is a great idea.

I might remove the "like" from the notice, since "uBlock Origin" is good, but some others are questionable or even outright malware.

BTW, note that the `ublockorigin.com` Web site that is linked to isn't by Raymond Hill, leader of uBlock Origin. It looks well-intended, and is nicely polished UX, but good practice would be to be careful (since it doesn't appear to be under Hill's control, and is an additional point of potential compromise in what would be very valuable malware). Hill seems to operate from https://github.com/gorhill/uBlock>. One link that isn't too bad to view https://github.com/gorhill/uBlock/blob/master/README.md>. Another that isn't great but OK is https://github.com/gorhill/uBlock/wiki>.

Re: No adblocker detected

#33

Earlier quoted context omitted.

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.

Because ads are not how malware is distributed? You have higher chance of getting a malware from `pnpm add` than seeing an ad on the web.

Re: No adblocker detected

#34

> but if you use external CSS, it’s quite common for the request to fail resulting in an unstyled page That’s a pretty crazy statement. How often do you see loading a CSS stylesheet fail to load? Most sites are completely unusable without their stylesheets and I don’t recall the last time I saw a stylesheet fail to load.

[deleted]

Re: No adblocker detected

#35
post #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.HTMLCanvasEle…

What the fuck up does this do?

Re: No adblocker detected

#36
I am extremely insulated from ads online and have been for about a decade. Once in a while I have to browse on a device that does not have an ad blocker or most of the times does not even let you install one. Seeing a website that is SEoptimised and heavily ad supported feels like walking into a crack den. That this is the normal experience for the vast majority of users is sad.

Re: No adblocker detected

#37

> but if you use external CSS, it’s quite common for the request to fail resulting in an unstyled page That’s a pretty crazy statement. How often do you see loading a CSS stylesheet fail to load? Most sites are completely unusable without their stylesheets and I don’t recall the last time I saw a stylesheet fail to load.

> How often do you see loading a CSS stylesheet fail to load?

Often. It might have something to do with my adblock settings though...

> Most sites are completely unusable without their stylesheets

Those sites are generally completely trash anyway.

Re: No adblocker detected

#38
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.

For some industries, it's critical their employees are not spied upon. The CISO should prioritize this for those companies.

Banks, Defense, etc.

Re: No adblocker detected

#39
post #33

Earlier quoted context omitted.

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.

Because ads are not how malware is distributed? You have higher chance of getting a malware from `pnpm add` than seeing an ad on the web.

https://en.wikipedia.org/wiki/Malvertising

Re: No adblocker detected

#40
post #35
post #25

Earlier quoted context omitted.

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.HTMLCanvasEle…

What the fuck up does this do?

Shadows bunch of builtin browser JS functions so they do nothing.
Post reply on HN