UnTrap for YouTube Firefox

Examine source code of UnTrap for YouTube

Inspect and view changes in UnTrap for YouTube source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "default_locale": "en",
  "name": "__MSG_extension_name__",
  "description": "__MSG_extension_description__",
  "version": "11.0",
  "icons": {
    "48": "images/icon-48.png",
    "96": "images/icon-96.png",
    "128": "images/icon-128.png",
    "256": "images/icon-256.png",
    "512": "images/icon-512.png"
  },
  "background": {
    "page": "background.html"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{2662ff67-b302-4363-95f3-b050218bd72c}"
    }
  },
  "content_scripts": [
    {
      "all_frames": true,
      "js": [
        "content/runtime/runtimeContract.js",
        "content/runtime/contentDiagnostics.js",
        "content/runtime/tabRuntimeReloadGuard.js",
        "content/runtime/lifecycleScope.js",
        "content/runtime/mediaRuntimeObserver.js",
        "content/runtime/storageChangeBroker.js",
        "content/runtime/runtimeSnapshotService.js",
        "content/js/ScriptInjection/videoQualityScriptInjection.js",
        "content/js/ScriptInjection/skipAdsScriptInjection.js"
      ],
      "matches": [
        "*://www.youtube.com/*",
        "*://m.youtube.com/*"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": false,
      "js": [
        "content/runtime/contentDiagnostics.js",
        "shared/runtime/storageMutationContract.js",
        "shared/auth/summaryAuthMessages.js",
        "shared/auth/summaryRequestMessages.js",
        "content/utils/helpers.js",
        "content/constants/constants.js",
        "content/storage/contentStorageMutations.js",
        "content/storage/contentStorageSelectors.js",
        "content/service/contentStorageService.js",
        "content/server/serverMethod.js",
        "content/runtime/summaryRequestCoordinator.js",
        "content/runtime/summaryAuthService.js",
        "content/runtime/summaryAuthController.js",
        "content/service/contentSummarizeService.js",
        "content/service/contentBlockEngine.js",
        "content/service/contentMediaElementsService.js",
        "content/service/contentIframeService.js",
        "content/service/contentTimerService.js",
        "content/js/libs/mutation-summary.js",
        "content/js/libs/purify.js"
      ],
      "matches": [
        "*://www.youtube.com/*",
        "*://m.youtube.com/*"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": false,
      "js": [
        "content/runtime/contentDiagnostics.js",
        "content/js/AttributesManager/htmlAtrributesManager.js",
        "content/js/Dynamic/dynamicOberver.js",
        "content/js/Dynamic/dynamicShortsPage.js",
        "content/js/Dynamic/dynamicVideoPage.js",
        "content/js/Dynamic/dynamicSearchPage.js",
        "content/js/Dynamic/dynamicHomePage.js",
        "content/js/Dynamic/dynamicChannelPage.js",
        "shared/headerNavigationTooltips.js",
        "shared/summaryState.js",
        "content/js/VideoSummarize/summarize-utils.js",
        "content/js/VideoSummarize/video-summarize-container-view-manager.js",
        "content/js/VideoSummarize/select-handlers.js",
        "content/js/VideoSummarize/add-summarize-button.js",
        "content/js/VideoSummarize/video-summarize-window.js",
        "content/js/VideoSummarize/get-summarize-video-content.js",
        "content/service/contentStyleService.js",
        "content/js/StyleManager/disabledAdditionalOptions.js",
        "content/js/StyleManager/sessionStylesManager.js",
        "content/js/Font/font.js",
        "content/js/AccentColor/accentColor.js",
        "content/js/ThumbnailFilter/thumbnailFilter.js",
        "content/js/ThumbnailFixer/thumbnailFixer.js",
        "content/js/YouTubeBlocking/youtubeBlockingManager.js",
        "content/js/YouTubeBlocking/youtubeBlockingTimer.js",
        "content/js/DisableInfinityScrollShorts/disableInfinityScrollsShorts.js",
        "content/js/EnrtyConfirmation/entryConfirmation.js",
        "content/js/EnrtyConfirmation/sessionTimeout.js",
        "content/js/SessionDuration/sessioDuration.js",
        "content/js/SessionDuration/sessionDurationTimer.js"
      ],
      "matches": [
        "*://www.youtube.com/*",
        "*://m.youtube.com/*"
      ],
      "css": [
        "content/css/block.css"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": true,
      "js": [
        "content/runtime/contentDiagnostics.js",
        "content/js/SkipVideoAds/skipVideoAds.js",
        "content/js/ShowNativePlayer/showNativePlayer.js"
      ],
      "matches": [
        "*://www.youtube.com/*",
        "*://m.youtube.com/*"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": false,
      "js": [
        "content/runtime/contentDiagnostics.js",
        "content/js/VideoSummarize/summarize-functionality/timestamp-summary.js",
        "content/js/VideoSummarize/summarize-functionality/key-insight-summary.js",
        "content/js/VideoSummarize/summarize-functionality/transcription-summary.js",
        "content/js/VideoSummarize/summarize-functionality/top-comments-summary.js"
      ],
      "matches": [
        "*://www.youtube.com/*",
        "*://m.youtube.com/*"
      ],
      "run_at": "document_idle"
    },
    {
      "all_frames": false,
      "js": [
        "content/runtime/contentDiagnostics.js",
        "content/runtime/contentFilterRuntime.js",
        "content/js/DisableVideoAutoPlay/disableVideoAutoPlay.js",
        "content/js/ContentFilter/Desktop/contentFilterDesktop_helpers.js",
        "content/js/ContentFilter/Desktop/contentFilterDesktop_blocker.js",
        "content/js/ContentFilter/Desktop/contentFilterDesktop_contextButtons.js",
        "content/js/Shortcuts/shortcutsListener.js",
        "content/js/Dynamic/dynamicLeftBar.js"
      ],
      "css": [
        "shared/extensionTheme.css",
        "shared/headerNavigation.css",
        "shared/summaryTimestamps.css",
        "content/css/desktop/desktop_summarize.css",
        "shared/summarySettings.css",
        "shared/summaryLoading.css",
        "shared/summaryState.css"
      ],
      "matches": [
        "*://www.youtube.com/*"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": false,
      "js": [
        "content/runtime/contentDiagnostics.js",
        "content/runtime/contentFilterRuntime.js",
        "content/js/DisableVideoAutoPlay/disableVideoAutoPlay.js",
        "content/js/ContentFilter/Mobile/contentFilterMobile_helpers.js",
        "content/js/ContentFilter/Mobile/contentFilterMobile_blocker.js",
        "content/js/ContentFilter/Mobile/contentFilterMobile_contextButtons.js"
      ],
      "css": [
        "shared/extensionTheme.css",
        "shared/headerNavigation.css",
        "shared/summaryTimestamps.css",
        "content/css/mobile/mobile_summarize.css",
        "shared/summarySettings.css",
        "shared/summaryLoading.css",
        "shared/summaryState.css"
      ],
      "matches": [
        "*://m.youtube.com/*"
      ],
      "run_at": "document_start"
    }
  ],
  "action": {
    "default_popup": "popup.html",
    "default_icon": {
      "16": "images/toolbar-icon-16.png",
      "19": "images/toolbar-icon-19.png",
      "32": "images/toolbar-icon-32.png",
      "38": "images/toolbar-icon-38.png",
      "48": "images/toolbar-icon-48.png",
      "72": "images/toolbar-icon-72.png"
    }
  },
  "web_accessible_resources": [
    {
      "resources": [
        "content/js/web-accessible-resources/setVideoQuality.js",
        "content/js/web-accessible-resources/timeStampClick.js",
        "content/js/web-accessible-resources/skipAdsOverrideClickEvent.js"
      ],
      "matches": [
        "*://www.youtube.com/*",
        "*://m.youtube.com/*"
      ]
    },
    {
      "resources": [
        "popup/screens/privacyPolicy/privacyPolicyForTab.js"
      ],
      "matches": [
        "<all_urls>"
      ]
    },
    {
      "resources": [
        "iframes/entry-confirmation.html",
        "iframes/session-duration-settings.html",
        "iframes/session-duration-cooldown.html",
        "iframes/youtube-blocked.html"
      ],
      "matches": [
        "*://www.youtube.com/*",
        "*://m.youtube.com/*"
      ]
    }
  ],
  "host_permissions": [
    "*://www.youtube.com/*",
    "*://m.youtube.com/*"
  ],
  "permissions": [
    "storage",
    "activeTab",
    "management",
    "alarms"
  ]
}

Best UnTrap for YouTube Alternatives

Here are some Firefox add-ons that are similar to UnTrap for YouTube: