Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of YouTube Distraction Blocker

YouTube Distraction Blocker by USForeignPolicy

YouTube Blocker blocks YouTube videos not in the Education, Science & Technology, or Howto & Style categories so you can focus on educational videos.

ExperimentalExperimental
0 (0 reviews)0 (0 reviews)
1 User1 User
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Each page has a different local storage
Understand Background action vs Browser action
Background Script has the context of the extension while
Content Script has the context of the web page. It has restrictions on CORS so only the Background Script can run the CORS API requests.
Content Script sends a Chrome message to the Background Script on whether to block the YouTube video or not
Logo was made in Adobe Photoshop

Resources needed are:
Youtube Data API
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and dataLearn more

Required permissions:

  • Display notifications to you
  • Access browser tabs
  • Access browser activity during navigation
  • Access your data for sites in the youtube.com domain
More information
Version
4.1
Size
195.22 KB
Last updated
a year ago (Jul 23, 2024)
Related Categories
  • Web Development
  • Social & Communication
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
Release notes for 4.1
fix: fix problem of chrome notifications not being sent (#10) by @eric60 in #11
Update manifest.json to v4.1 by @eric60 in #12
More extensions by USForeignPolicy
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.