A lot of internet publications today have videos in the middle of their articles that have nothing to do with the actual content. Example in this WIRED article here.

I’m wondering if there is an active blocklist for this kind of content? I already have uBlocks “annoyances” all subscribed. These videos slow down the pages and are too numerous to block individually.

  • @jet@hackertalks.com
    link
    fedilink
    English
    5516 days ago

    Firefox lets you set default site settings, make the default site setting disable autoplay audio and video.

    For sites where you know you trust the video, you can do a per site permission in the URL bar saying autoplay is allowed for like YouTube

    • @scsi@lemm.ee
      link
      fedilink
      English
      3816 days ago

      To expand on this, there are two settings you can put in user.js / prefs.js (desktop) or via about:config (mobile), documented on the Mozilla Wiki:

      user_pref("media.autoplay.default", 5);
      user_pref("media.autoplay.blocking_policy", 2);
      

      Two bonus settings if you want to get rid of the “do you want to enable DRM?” pop-in bar when hitting one of those sites:

      user_pref("media.gmp-widevinecdm.enabled", false);
      user_pref("media.gmp-widevinecdm.visible", false);
      

      hth

      • fmstrat
        link
        fedilink
        English
        215 days ago

        Very helpful for my machine setup scripts. Thanks!

  • SadSadSatellite
    link
    fedilink
    English
    1216 days ago

    I use an add on called noscript. It’s a little scorched earth, but I hardly notice it now that it’s set up.

    • @darkdemize@sh.itjust.works
      link
      fedilink
      English
      1216 days ago

      I like NoScript in theory, but I had to stop using it. It broke too many websites to the point of unusability for me. I just stick with uBlock Origin and use the element zapper as needed anymore.

    • @deranger@sh.itjust.works
      link
      fedilink
      English
      916 days ago

      NoScript is redundant with uBlock medium mode.

      Roughly similar to using Adblock Plus with many filter lists + NoScript with 1st-party scripts/frames automatically trusted. Unlike NoScript however, you can easily point-and-click to block/allow scripts on a per-site basis.

    • @tehn00bi@lemmy.world
      link
      fedilink
      English
      616 days ago

      No script breaks so much of the internet. But I guess over time you can make enough rules with it that it mostly works.

    • BigfootOP
      link
      fedilink
      English
      115 days ago

      Not really what I was looking for but thanks for the suggestion.

  • L3ft_F13ld!
    link
    fedilink
    English
    616 days ago

    Not sure if you’re on desktop or mobile. On mobile I’m using Mull with uBlock origin in medium mode. I don’t see any videos in the article you linked and I don’t see most of the annoyances many people complain about.

    This is a rather strict setup that can break some sites, but over time you can tune it to make most sites work without intervention on future visits.

  • Ech
    link
    fedilink
    English
    416 days ago

    If it’s a site you use often, right-click and “block element” is your friend. Might be able to sus out a universal block as well if you dig around the different elements there.

    • BigfootOP
      link
      fedilink
      English
      215 days ago

      On every site I’ve checked it uses a random css tag so can’t block more than one.