SYBU JavaScript Blocker – Google Chrome Extension

SYBU JavaScript Blocker is a Google Chrome Extension to quickly block JavaScript (JS) files from being loaded by the browser

September 2023.    We have remove the plugin from the Chrome Store, and is no longer available.  The page is kept for historic record.


Installation

Install from Google Chrome Web Store

Setup

After you have installed the extension.  Pin the icon to toolbar.

After you have installed the extension.  It will be visible to the right of the Chrome search/address bar. It is a little blue shield icon. Click the icon.

The Sybu JavaScript Blocker has 3 modes:  OFF | My Rules | Block All

Mode: OFF

After you have installed the extension.  It will be visible to the right of the Chrome search/address bar. It is a little blue shield icon. Click the icon.

Mode: My Rules

After you have installed the extension.  It will be visible to the right of the Chrome search/address bar. It is a little blue shield icon. Click the icon.

Block Rules

The extension will then block files containing the specified text.

Block 3rd Party scripts

When enabled (recommended),  the script will block JavaScript files that are not from the same domain as the requested page.  

This will immediately block a lot of trackers and advertising links, without the need to specify individually.  

In the example below you will notice when this option is enabled any script not from the sybu.co.za domain was blocked.

Additional block rules can manually be entered. These can be complete URLs, or any part of, as shown 

Add to My Rules

Rules can also be added by clicking on the indicator [+]

In this example if you choose:

Unblock file / Remove rule

To unblock a file (remove the block rule) click on the [-] button next to the file being blocked.

or simply remove the text from list of items in Block Rules

Rule Options

The setup of Allow Rules is similar to Block Rules. Simply add a list of items (full URLs, or partial names).

NOTE: An Allow Rule will override a Block Rule

Click Good/Bad Sites to add or remove domain that will always be blocked or always be allowed.

When it is required that no rules are applied that a website request, the website domain can be added.  This may be useful for specific sites like Gmail for Facebook, to function properly.  The domain for the current web request is already displayed, and you can simply click the Add Good or Add Bad button as seen in the example.  Simple click the button, it will add it, save the setting and reload the page automatically.   Alternately you can also manually add / remove domains in the space provided.

Click the Temporary Rules button to view rules that are temporary and will expire.

In some cases when you are visiting website you may not want to set a permanent rule. This is useful for sites that are not frequently visited.

Rules expire under following conditions.


Specific temporary allow rules can also set for individual scripts

Allow rules for temporary allow sites and scripts can be viewed or cleared

Mode: Block All

In this mode all JavaScript will be blocked, but you will find that most pages do not render properly.  So options are available to allow some JavaScript to be loaded. Exceptions can be added in Allow Rules.   

So for example it may be useful not to block a script like jquery since this is used on many websites to display content dynamically. An example is shown below where jquery is not blocked.

Options Menu




User Interface

Indicators

JavaScript file was loaded. No rule was applied.

JavaScript file was allowed and loaded, based on Allow Rule.

JavaScript file was blocked, based on Block Rule.

1, 2, 3

The numbers next to listed items indicated the loaded sequence

The total number of files blocked.  Click to sort.

Actions

Click to edit the Block Rules

Click to edit the Allow Rules

Click to add or remove sites that will always be blocked or always be allowed.

Click to view or add sites that are temporary allowed.

Click to edit the extension options

File is currently allowed.  Click to add Block Rule

File is currently allowed. Click to remove Allow Rule

File is currently blocked. Click to remove Block Rule

File is currently blocked.   Click to add Allow Rule

Feedback

Please let us know if you have found a bug, have a question or feature request on our Support page

Love the App

The Extension is free, there is no monetization, no trackers, no advertising.  If you use the extension, please consider liking Sybu Data on Facebook, Instagram and/or giving it  ⭐⭐⭐⭐⭐  on the Google Chrome Store. – This will be appreciated.

Like and Follow