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

How to download and manually install Block Unreachable Scripts extension for Chrome

Looking for a way to install Block Unreachable Scripts extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Block Unreachable Scripts extensions manually, this article outlines two simple methods to effortlessly install Block Unreachable Scripts extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Block Unreachable Scripts extension and manually install through Drag &Drop

If you ever need to manually install a Block Unreachable Scripts extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Block Unreachable Scripts Extension by clicking the "Download CRX" button on the website.

Look for the Block Unreachable Scripts extension you wish to install. Go to the website and download the Block Unreachable Scripts extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Block Unreachable Scripts extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Block Unreachable Scripts extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Block Unreachable Scripts extension for Chrome and install in Developer Mode

This is another method to install Block Unreachable Scripts extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Block Unreachable Scripts extension file

Select and download the Block Unreachable Scripts extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Block Unreachable Scripts extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Block Unreachable Scripts extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Block Unreachable Scripts extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Block Unreachable Scripts extension in 2 ways. We hope this guide proves helpful.

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