• @[email protected]
    link
    fedilink
    62 years ago

    People will decide what is best for them. Blocking access to websites for having ad blocker or having no ad blocker is an asshole move. I know it is intended for pun, but still.

      • @[email protected]
        link
        fedilink
        32 years ago

        Encouraging and forcing is different. Just because forcing ad blocker on people is aligned with so many people’s view doesn’t mean that it is a great move. Anything that is forced on people is an asshole move.

  • @[email protected]
    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!

    • @[email protected]OP
      link
      fedilink
      82 years ago

      Think about it like this: even when you link other posts in lemmy, you link them in their home instance, because there is no way to link posts so that everyone gets one to their own instance as you can do with communities in the threadiverse. Neither can you repost it in any meaningful way, since that just means copying the content, which would make it appear as though you said it yourself.

  • 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.

    • 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.

    • @[email protected]
      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.

    • 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)

  • @[email protected]
    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.

  • @[email protected]
    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

  • KiranWells
    link
    fedilink
    542 years ago

    This already exists - @[email protected]’s blog already has a popup about not having an adblocker, although it is easy to dismiss. It’s probably a bad idea to block content based on not having one, as detecting ad blockers is a losing battle (as YouTube is learning).

    • @[email protected]
      link
      fedilink
      72 years ago

      It’s not a losing battle.

      It’s like a lock on your front door: Anyone that really wants to bypass it will easily. It’s there to stop most people.

      On Reddit/Lemmy we’re exposed to mostly people that know how to, but outside a lot of people will think Adblockers are the discovery of the century when their brother in law installs it, until they need to update it and it won’t work ever again because they can’t click an update button.

    • @[email protected]
      link
      fedilink
      52 years ago

      yeah the adblock detection doesn’t work for me

      at least not in Mull with uBlock Origin on Android with AdAway (root)

    • @[email protected]
      link
      fedilink
      292 years ago

      i don’t really know what im talking about, but wouldn’t it be a bit easier in this case since the goal isn’t to evade the ad blocker? rather than try to detect the ad blocker, wouldn’t it be possible to design the pop up so that it’s easily detected by ad blockers (or annoyance blockers)?

      • KiranWells
        link
        fedilink
        62 years ago

        Not all ad blockers remove elements from web pages, and if they acted that predictably you could detect the ad blocker by detecting whether an expected element is hidden.

        I have not looked through an ad blocker’s code, but I don’t believe it is that simple.

        • autokludge
          link
          fedilink
          English
          42 years ago

          Looking at this blogpost for a wordpress blocking plugin, it basically is just adding a bunch of css classes commonly used by ads to a div and some workarounds to support ad blockers that work by blocking files.

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

        If you’re not serving data from a popular ad server like google/doubleclick there will always be a false positive or two, especially with things like hosts-based ad blockers that are extremely rudimentary but work ~60-70% of the time.

        And if you manage to serve data from doubleclick then either you’re working for them or something has gone horribly wrong. In either case just putting up a script to say “please use an ad blocker” is the least of your concerns.