[Ext] Block Unreachable Scripts

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
User avatar
em_te
Posts: 361
Joined: June 13th, 2004, 1:03 am

[Ext] Block Unreachable Scripts

Post by em_te »

Block Unreachable Scripts 0.3.1

Summary:
Prevent unreachable servers from stalling websites by disabling their scripts if they previously could not load.

Link:
https://addons.mozilla.org/en-US/firefox/addon/block-unreachable-scripts/

Description:
Some websites load JavaScript from third-party servers that are sometimes unreachable (because of company firewalls/outdated DNS servers/bad SSLs/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.

Picture:

Image
grahamperrin
Posts: 82
Joined: July 19th, 2009, 3:56 pm

Block Unreachable Scripts and rcwn (race cache with network)

Post by grahamperrin »

Follow-up to https://addons.mozilla.org/addon/block- ... s/1147632/

about:config?filter=rcwn

Recently, before I discovered Block Unreachable Scripts, I began toying with

network.http.rcwn.enabled true

I get a vague sense that things are more likely to be treated as unreachable when racing is enabled. Maybe most noticeable in Reddit, YMMV.

My imagination?

Background

https://redd.it/8tch72
Post Reply