• @TheBlue22@lemmy.blahaj.zone
    link
    fedilink
    522 years ago

    Not joking, every time a website asks me to turn off my adblocker, I leave and put it on my blocklist so it never shows up again. Then I simply use their competition instead.

  • umbraroze
    link
    fedilink
    842 years ago

    I mean, it’s totally fashionable to give people who still somehow use Microsoft Internet Explorer scare pop-ups, so why not this?

    If you don’t run an ad blocker, your browser just isn’t safe. This was the security community consensus 15 years ago. Shit sure got worse since then!

  • Dizzy Devil Ducky
    link
    fedilink
    English
    52 years ago

    Okay, so I’ve been thinking of doing something like this for my neocities site (whenever I have the time and drive to work on it). The biggest problem to all of this is the fact I don’t wanna use any JavaScript and don’t know if it’s even possible without JS.

    I’ve already, in the past, been experimenting on another neocities page I have access to the idea of blocking access to everyone using a chromium based or safari browser with and without JS, too. To say the least, it’s difficult for a noob like me and so far has not worked like planned. Especially since there are so many forks of chromium with different names/user-agents.

    • kopper [they/them]
      link
      fedilink
      English
      3
      edit-2
      2 years ago

      You can try to load an image from a subdomain like ads., or from a filename like 468x80.png (see EasyList) to catch all the common ad blockers, maybe with an id of Ad-Container to catch css-based ad blockers.

      DNS based blockers that use regular expressions or wildcards will work with the subdomain approach, but most of them still rely on hardcoded list of domains which means you either need to get a throwaway (sub)domain on their lists OR serve data from an actual ad server (or just live with the occasional false positives from people who believe DNS blocking is enough [which it really isn’t if we’re being honest])

      But honestly, in this case doing it with JS should be fine since disabling JS is a quite effective ad blocker anyway. Here’s how I do it for example: https://ads.d.on-t.work/ad.min.js (and you can try it out at https://w.on-t.work)

    • @brian@programming.dev
      link
      fedilink
      32 years ago

      I mean, I’d imagine it’s trivial to do without js. Just try to load an image or similar with a name that’d be blocked into the background image for a div that covers the entire page. Should silently fail to load with a blocker, or shows your error image if they don’t.

      • Dizzy Devil Ducky
        link
        fedilink
        English
        12 years ago

        As a total HTML/CSS noob, I’ll definitely have to look up how to do this. I’ll probably end up trying it on the other site just in case I royally mess up my main site by accident. I at least have immediate backups for the other site right now, so I don’t mind experimenting with it.

    • Justas🇱🇹
      link
      fedilink
      62 years ago

      Put it in an element with a class like “ad-banner”, it should be enough for most ad blockers to block it.

      • Dizzy Devil Ducky
        link
        fedilink
        English
        12 years ago

        I’d have to look up how to do it, but I’ll definitely have to try this to see what happens.

        • Justas🇱🇹
          link
          fedilink
          2
          edit-2
          2 years ago

          just a <div>Your ad block ad goes here</div>

          view source because Lemmy understands html.

  • @DrRatso@lemmy.ml
    link
    fedilink
    912 years ago

    Hot take: I don’t want / need more people to use adblock.

    Right now it is in a good position where the numbers just are not that high for advertisers to really give a hoot. Yes there is the ocasional shit like with YouTube, but the thing is - they are not really trying, they only put enough effort in to inconvenience, hoping more people will drop blocking.

    However, if more people start blocking, I think they will be forced to find more concrete solutions, like the whole DRM fiasco.

    • @ashe@lemmy.starless.one
      link
      fedilink
      372 years ago

      I could be wrong but I don’t think there even is a way to fully prevent adblocking without something like the proposed web integrity API, since it’s all clientside and the browser can easily just choose not to render any ads.

      Overall I do agree that less people using adblocks means less attention from corps and less adblock-blocks like youtube’s, but I’m conflicted on whether that’s a good enough reason to have most people suffer through so many ads.

      • @persolb@lemmy.ml
        link
        fedilink
        182 years ago

        Even with web integrity, I don’t see anti-Adblock working. We’re almost at the point that client side AI can screen capture the web page and recreate it sans-ads.

        And there are probably simpler solutions to bypass anti-adblock

        • AbeilleVegane
          link
          fedilink
          42 years ago

          I barely know how any of this works, but couldn’t Google just decide to not send video content on YouTube until X number of seconds have elapsed, so having ad blockers would block ad content, but not make it faster to see the video?

          • @kugiyasan@lemmy.one
            link
            fedilink
            52 years ago

            They probably could, but I think the risk of directly affecting the normal user experience is too high. That would for example mean that preloading videos will be trickier, and that there is a high chance that there will be a 3 seconds of silence between the ad and the content.

          • Tlaloc_Temporal
            link
            fedilink
            42 years ago

            Still won’t help, I would gladly wait 60s to avoid having scams and car salesmen shout at me for 10s.

      • @DrRatso@lemmy.ml
        link
        fedilink
        12 years ago

        Maybe not prevent entirely, but I am sure they can make it extremely inconvenient to block. Part of the reason I pay for Youtube Premium is that it would be just too much of a hassle to set up PiHole and manage it, to get that ad-free experience across all of my devices.

          • @DrRatso@lemmy.ml
            link
            fedilink
            12 years ago

            When I used android vanced was the biggest frustration ever, every couple of days I had to reinstall it which was a pita, especially because the realisation came just as I began my commute. Back then I was a broke college student, if I had cash back then I would have gladly payed for premium.

            Now I have switched to apple, afaik something like PiHole would be the only thing to get ad-blocked youtube on my TV plus it comes bundled with YouTube music

    • @miss_brainfart@lemmy.ml
      link
      fedilink
      42 years ago

      If ads were just ads, then sure. But now that they serve as trackers too, and are oftentimes hijacked by malware… yeah no, screw all ads.

      • @DrRatso@lemmy.ml
        link
        fedilink
        22 years ago

        Ads being trackers, and especially being a vector for malware is nothing new, yes screw ads, I block them, but I really don’t give a hoot if my neighbour blocks ads. I’m certainly not gonna go out of my way to preach the gospel of adblocking.

        And part of the reason is the above - more people blocking ads will probably cause ad companies to make ad blocking more inconvenient, and you will end up with the same situation - only tech literate people will block ads.

        Now don’t get me wrong, that is not the reason, just a reason, mostly I just don’t give a fuck if others block ads.

        However when it comes to the idea in the OP, the reason does become more salient, because someone is going out of their way to preach the gospel of adblocking.

        Obviously my original point was a bit lighthearted, realistically it doesn’t matter, I doubt any dev who would do this is making products to reach masses that do not already adblock, so this shit is probably just some virtue signaling anyway.

        • @miss_brainfart@lemmy.ml
          link
          fedilink
          1
          edit-2
          2 years ago

          At the end of the day, it’s probably just a joke to get some laughs out.

          Spreading awareness is always good in my book, but how to do it is a whole other problem, isn’t it.

  • @shortly2139@lemmy.world
    link
    fedilink
    272 years ago

    Good old Cluley, he also has an award winning podcast, Smashin’ Security. It’s a light hearted take on recent security events. Its usually 30 - 45 minutes long.

    One of my favourites

  • @spudwart@spudwart.com
    link
    fedilink
    English
    126
    edit-2
    2 years ago

    This technically makes this an ad for adblockers. Which, by enabling an adblocker, will disable said ad.