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.
No adblocker detected
31–40 of 388 posts
Re: No adblocker detected
#32And 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
#33Earlier 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.
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.
Re: No adblocker detected
#35I 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…
Re: No adblocker detected
#36Re: 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.
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
#38Earlier 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.
Banks, Defense, etc.
Re: No adblocker detected
#39Earlier 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.
Re: No adblocker detected
#40Earlier 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?