Restrict loading resources from the origin domain, and chosen other domains

Latest Version

Version
0.0.1
Update
June 18, 2020
Size
56.26KiB
Developer
Category
Users
4
Rating
0 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Storage
WebRequestBlocking
WebRequest
*://*/
WebNavigation
See more

Single Origin Extension

Prevent the browser from loading resources from domains other than those you visit and any exceptions you choose.

This is different to other extensions which have a long list of disallowed domains - every cross domain request is blocked until explicitly permitted

With this extension when each page is loaded it can only load resources (Javascript, images, css, frames, etc) from the same domain (subdomains are permitted). Resources can be permitted from other domains using the popup on the icon in the browser toolbar.

If a frame is loaded from another domain then permissions can be set for that domain separately.

The extension can also be set to allow all resources for a tab using the popup.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Single Origin", "version": "0.0.1", "description": "Restrict loading resources from the origin domain, and chosen other domains", "manifest_version": 2, "background": { "scripts": ["src/common.js", "src/suffixes.js", "src/background.js"], "persistent": true }, "permissions": [ "storage", "webRequestBlocking", "webRequest", "*://*/", "webNavigation" ], "browser_action": { "default_icon": { "16": "src/icon-16.png", "32": "src/icon-32.png", "48": "src/icon-48.png", "128": "src/icon-128.png" }, "default_title": "Single Origin", "default_popup": "src/popup.html" }, "options_ui": { "page": "src/options.html", "open_in_tab": false }, "icons": { "16": "src/icon-16.png", "32": "src/icon-32.png", "48": "src/icon-48.png", "128": "src/icon-128.png" }}
Read more

Similar Extensions

icon

Allow CORS: Access-Control-Allow-Origin Extension · Productivity 4 279 ★ 78.31KiB

icon

Don't F*** With Paste Extension · Productivity 4 653 ★ 85.67KiB

icon

DownloadPage(All resources,html+css+js+images) Extension · Developer Tools 4 5 ★ 468KiB

icon

Website Blocker Extension · Productivity 4 26 ★ 326KiB

icon

Zoom Per Tab Extension · Productivity 4 74 ★ 22.91KiB

icon

New-Tab Blocker Extension · Accessibility 4 32 ★ 35.91KiB

icon

Block Site Extension · Productivity 4 230 ★ 36.06KiB

icon

JavaScript Toggle On and Off Extension · Productivity 4 21 ★ 89.35KiB

icon

Extension Manager with Profiles Extension · Productivity 4 16 ★ 41.9KiB

icon

Disable-CSP Extension · Developer Tools 4 0 ★ 34.07KiB

icon

Download Manager Extension · Productivity 4 81 ★ 39.91KiB

icon

IP Domain Country Flag Extension · Productivity 4 385 ★ 1.06MiB

icon

Website Source Downloader Extension · Productivity 4 0 ★ 139KiB

icon

Custom CSS by Denis Extension · Productivity 4 46 ★ 162KiB

icon

Allow Copy/Paste Extension · Accessibility 4 4 ★ 29.9KiB

icon

Allow Copy& Right Click Extension · Productivity 4 0 ★ 98.56KiB

icon

Stream Bypass Lite Extension · Productivity 4 0 ★ 180KiB

icon

Page Load Optimizer Extension · Productivity 4 1 ★ 31.59KiB

icon

Disable Download Shelf Extension · Productivity 4 11 ★ 15.51KiB

icon

Load Background Tabs Lazily Extension · Productivity 4 5 ★ 77.7KiB

icon

Suspend Tabs at Startup Extension · Productivity 4 4 ★ 17.75KiB

icon

Only HTML Extension · Productivity 4 1 ★ 11.65KiB

icon

Proxy Toggle: Simple System Proxy Switcher Extension · Productivity 4 2 ★ 19.11KiB

icon

Enable Copy Anywhere Extension · Productivity 4 19 ★ 12.32KiB