Results 1 to 4 of 4

Thread: Firefox Content Blocking

Hybrid View

  1. #1
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Cool Firefox Content Blocking

    https://support.mozilla.org/en-US/kb/content-blocking

    I'm liking strict mode, especially the fact that it blocks embedded social media stuff, which uBlock Origin doesn't do (by default).

    Somewhat related, if you want to prevent videos from playing automatically go to about:config and change the "media.autoplay.allow-muted" to "false".
    I'm guessing Satan and his league of web developers complained about the outright blocking option.
    "Could you let the video play as long as it's muted? I mean our goal is just to waste people's bandwidth, it's not really about the content anyhow."


    Code:
    // Whether to autostart a media element with an |autoplay| attribute.
    // ALLOWED=0, BLOCKED=1, defined in dom/media/Autoplay.idl
    pref("media.autoplay.default", 0);
    Code:
    // By default, don't block muted media from playing automatically.
    pref("media.autoplay.allow-muted", true);
    https://dxr.mozilla.org/mozilla-rele...ef/init/all.js

  2. #2
    Join Date
    Apr 2016
    Location
    North America
    Posts
    537

    Default Re: Firefox Content Blocking

    The Block Autoplay feature is enhanced to give users the option to block any video that automatically starts playing, not just those that automatically play with sound.
    https://www.mozilla.org/en-US/firefo.../releasenotes/

    Tumbleweed, Xfce, Firefox, uBlock Origin

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,395
    Blog Entries
    2

    Default Re: Firefox Content Blocking

    Beware if/when you decide to clear your cache and cookies...
    Not totally unexpected, it wiped out authentication tokens for apps like discordapp, slack and twitch.tv.
    Then, unlike when you might have first logged in, you have to go into the Firefox Content settings (Privacy and Security section), uncheck block pop-ups and uncheck all the content blocking to re-login to the above services... Then re-enable afterwards.

    I assume that other web apps and sites could be affected the same way.

    I also found that if the website is extremely graphics intensive, you may have to disable hardware acceleration, the Firefox browser can overload the GPU.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,926

    Default Re: Firefox Content Blocking

    Quote Originally Posted by ravas View Post
    https://support.mozilla.org/en-US/kb/content-blocking

    I'm liking strict mode, especially the fact that it blocks embedded social media stuff, which uBlock Origin doesn't do (by default).

    Somewhat related, if you want to prevent videos from playing automatically go to about:config and change the "media.autoplay.allow-muted" to "false".
    I'm guessing Satan and his league of web developers complained about the outright blocking option.
    "Could you let the video play as long as it's muted? I mean our goal is just to waste people's bandwidth, it's not really about the content anyhow."


    Code:
    // Whether to autostart a media element with an |autoplay| attribute.
    // ALLOWED=0, BLOCKED=1, defined in dom/media/Autoplay.idl
    pref("media.autoplay.default", 0);
    Code:
    // By default, don't block muted media from playing automatically.
    pref("media.autoplay.allow-muted", true);

    https://dxr.mozilla.org/mozilla-rele...ef/init/all.js
    Thank you very much for the comment. It's super useful for an ignorant Firefox user like myself that doesn't read the release notes This feature works wonders for me.
    Best regards,
    Greg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •