Blocking JavaScripts from a Site in Chrome in 2 Easy Steps
Posted on In Network, Software, Tutorial, WebYou may be aware of the GitHub’s largest DDoS attack in history on Mar. 27, 2015 (some context, technical details, and discussions):
We've been under continuous DDoS attack for 24+ hours. The attack is evolving, and we're all hands on deck mitigating.
— GitHub Status (@githubstatus) March 27, 2015
One important technique when facing this kind of problems is blocking certain sites’ JavaScripts in your browser. Here, we introduce the 2 simple steps to block a certain site’s JavaScripts.
Step 1: Open “JavaScript exceptions” in Chrome
Open “JavaScript exceptions” in Chrome by simply opening this address in Chrome’s URL bar:
chrome://settings/contentExceptions#javascript
Step 2: Enter the blocked site and block it
For example, to block all JavaScripts from example.com, input
[*.]example.com
in the “Hostname pattern”, and select “Block” in the “Behavior” column.
Ok, it is done.