Prevent unreachable servers from stalling websites by disabling their scripts for 5 minutes if they previously could not load.

Latest Version

Version
0.4
Update
September 26, 2017
Size
11.06KiB
Developer
Category
Users
419
Rating
4 ★
Manifest Version
2
Web Store Status
Languages Support
English
中文 (简体)
See more
Permissions

WebRequest
WebRequestBlocking
Storage
Tabs
See more

Block Unreachable Scripts Extension

Some websites load JavaScript from third-party servers that are sometimes unreachable (because of firewalls/DNS/bad SSLs/Google down/etc.). This will cause the website to stall (freeze) as it waits for that server to respond. The only recourse is to wait patiently for that request to time out, before the website can continue loading.

This extension will monitor those failed JavaScript requests and will skip over them if any websites try to load from those servers again. This prevents the website from stalling again. The block will only occur for 5 minutes in case the server is restored later.

Failed requests can be viewed in the toolbar button, which shows which URLs were blocked and how long the block will last. The toolbar button only appears when scripts are blocked.

Note that this extension does not target anyone and has no black-list or white-list. Blocking only occurs if the server was previously unreachable and therefore the content would not have loaded anyway.

Test the effects of unreachable servers here: http://tinyurl.com/test-blocking-js
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "__MSG_extensionName__", "author": "Terry Yuen", "version": "0.4", "description": "__MSG_extensionDescription__", "manifest_version": 2, "default_locale": "en", "icons": { "19": "page_19.png", "38": "page_38.png", "48": "page_48.png", "96": "page_96.png" }, "permissions": [ "", "webRequest", "webRequestBlocking", "storage", "tabs" ], "background": { "scripts": ["background.js"], "persistent": true }, "page_action": { "browser_style": true, "default_icon": { "19": "page_19.png", "38": "page_38.png" }, "default_popup": "popup.html" }, "content_scripts": [ { "matches": [""], "js": ["content.js"], "run_at": "document_start" } ], "options_ui": { "chrome_style": true, "page": "options.html" }}
Read more

Similar Extensions

icon

Policy Control Extension · Productivity 419 3 ★ 48.47KiB

icon

Site Bleacher Extension · Productivity 419 3 ★ 23.54KiB

icon

WebAPI Blocker Extension · Productivity 419 8 ★ 58.61KiB

icon

No Opener, No Phishers Extension · Developer Tools 419 9 ★ 274KiB

icon

Origin Requests Only (Firewall) Extension · Productivity 419 12 ★ 102KiB

icon

Privacy Crawler Extension · Developer Tools 419 0 ★ 29.74KiB

icon

NoDetour Extension · Productivity 419 7 ★ 125KiB

icon

MyCache Extension · Productivity 419 15 ★ 5.12MiB

icon

Scripter debugger extension Extension · Developer Tools 419 2 ★ 1.04MiB

icon

Security Tweaks Extension · Productivity 419 3 ★ 3.07MiB

icon

Ignore Google Scripts Extension · Productivity 419 3 ★ 18.68KiB

icon

Quicklink Chrome Extension Extension · Productivity 419 8 ★ 715KiB

icon

Local Cache Extension · Productivity 419 16 ★ 30.8KiB

icon

Sierra for Chrome Extension · Productivity 419 18 ★ 1.22MiB

icon

ChRAM: Simple Browsing Data Cleaner Extension · Productivity 419 7 ★ 120KiB

icon

blockerDNS Ad & Tracker Blocking Extension · Productivity 419 6 ★ 379KiB

icon

PageAccel Extension · Accessibility 419 7 ★ 297KiB

icon

Privacy Guard & Manager Extension · Productivity 419 2 ★ 34.69KiB

icon

Policy Control - JavaScript and Flash blocker Extension · Productivity 419 12 ★ 20.22KiB

icon

Content-aware Ad Blocker Extension · Productivity 419 11 ★ 865KiB

icon

Speed Up Scroll Extension · Developer Tools 419 6 ★ 28.06KiB

icon

Better Image Scaling Extension · Photos 419 12 ★ 38.65KiB

icon

Privacy Protector Plus Extension · Productivity 419 11 ★ 516KiB

icon

Host AdBlocker Extension · Productivity 419 18 ★ 3.7MiB

User reviews

icon

Stanton McCandlish (ID: 000000d983c1d3d1) Voted 2 ★ - Updated 04/01/2021 Good idea but essentially unusable in its present implementation. It makes a large number of websites mostly or partially unusable, sometimes starting right at their login pages. This needs an adjustable global timeout, and per-site timeout adjustment. E.g., if a slow site sometimes takes 20 sec. to load, I would want to set maybe a 40-sec. timeout for elements on that page, and not block any of them unless they take longer than that. For a site that almost always loads in 3-5 sec., I might set it at 10 sec. (That extra padding will account for my typical VPN usage.) I can't tell what the defaults are, but I'm guessing around 5 sec., since this breaks even pretty basic and quick-to-load sites like LastPass.com (was able to login, but the script to create a new entry from the "+" icon apparently takes a hair too long for Block Unreachable Scripts, so this basic function of the site can't be used at all with this extension enabled (not that I'll be using LastPass much longer anyway, but it's just one example of breakage).

icon

Prime Optimus (ID: 000000e292425b9d) Voted 4 ★ - Updated 08/24/2018 Very good, but needs some adjustment. Clicking on signup on stackoverflow.com and then picking google, this script will prevent from reaching google.

icon

gouchenyi (ID: 000000e210512dbe) Voted 5 ★ - Updated 11/17/2017 在这样的环境还有国产的插件,绝壁支持啊。 有没有类似page load time的插件啊,这插件看的不是很懂,能看到DNS解析时间,方便调整分流DNS