Block GIF and WebP animation images on HTML pages to reduce bandwidth and resource usage

Latest Version

Version
0.2.1
Update
December 28, 2022
Size
51.42KiB
Developer
Category
Users
3,000+
Rating
3.65789 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
ActiveTab
Scripting
ContextMenus
DeclarativeNetRequest
See more

GIF Blocker Extension

This extension blocks animated images (*.GIF and *.WebP formats by default) to save bandwidth usage and improve page loading performance. The extension can get enabled or disabled from the action button. Once the extension is enabled, no animated resource is fetched from the internet. Instead, the remote image is replaced by a local alternative.

When blocking mode is enabled, the user can still selectively load blocked images from the right-click context menu over the image context.

How does it work:
This extension redirects all the animated image requests to the local SVG image. This way, there is no server request at all (not even the HEAD request).

Features:
You can unblock an image from right-click context menu. The unblocking stays for this browser session. Or until the extension is disabled by pressing the toolbar button.
Reduce bandwidth usage significantly by preventing any animated image loading. Animated images use a large amount of bandwidth compared to normal images.
Optionally disable the extension for WebP or GIF image format.
Optionally block video elements from auto-playing
Optionally block CSS animation
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "GIF Blocker", "description": "Block GIF and WebP animation images on HTML pages to reduce bandwidth and resource usage", "version": "0.2.1", "manifest_version": 3, "permissions": [ "storage", "activeTab", "scripting", "contextMenus", "declarativeNetRequest" ], "host_permissions": [ "*://*/*" ], "declarative_net_request": { "rule_resources" : [{ "id": "ruleset_gif", "enabled": true, "path": "ruleset/ruleset_gif.json" }, { "id": "ruleset_webp", "enabled": true, "path": "ruleset/ruleset_webp.json" }] }, "homepage_url": "https://webextension.org/listing/gif-blocker.html", "background": { "service_worker": "worker.js" }, "content_scripts": [{ "matches": ["*://*/*"], "js": ["data/inject.js"], "run_at": "document_start", "match_about_blank": true, "all_frames": true }], "web_accessible_resources": [{ "resources": ["/data/block.svg"], "matches": ["*://*/*"] }], "icons": { "16": "data/icons/16.png", "32": "data/icons/32.png", "48": "data/icons/48.png", "64": "data/icons/64.png", "128": "data/icons/128.png", "256": "data/icons/256.png", "512": "data/icons/512.png" }, "action":{ "default_title": "GIF Blocker (enabled)" }, "options_ui": { "page": "data/options/index.html" }, "commands": { "_execute_action": { "description": "Press the action button" } }}
Read more

How to download and manually install GIF Blocker extension for Chrome

Looking for a way to install GIF Blocker 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 GIF Blocker extensions manually, this article outlines two simple methods to effortlessly install GIF Blocker extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download GIF Blocker extension and manually install through Drag &Drop

If you ever need to manually install a GIF Blocker 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 GIF Blocker Extension by clicking the "Download CRX" button on the website.

Look for the GIF Blocker extension you wish to install. Go to the website and download the GIF Blocker extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for GIF Blocker 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 GIF Blocker 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 GIF Blocker extension for Chrome and install in Developer Mode

This is another method to install GIF Blocker 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 GIF Blocker extension file

Select and download the GIF Blocker 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 GIF Blocker 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 GIF Blocker 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 GIF Blocker 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 GIF Blocker extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Stop Animations Extension · Accessibility 3,000+ 102 ★ 382KiB

icon

GIF Blocker Extension · Productivity 3,000+ 14 ★ 34.33KiB

icon

Image blocker Extension · Productivity 3,000+ 118 ★ 236KiB

icon

Gif Delayer Extension · Photos 3,000+ 132 ★ 108KiB

icon

Tunable Image Block Extension · Productivity 3,000+ 44 ★ 32.14KiB

icon

Block Image|Video Extension · Productivity 3,000+ 49 ★ 35.48KiB

icon

Block image Extension · Productivity 3,000+ 192 ★ 22.35KiB

icon

Image Blocker EX+ 9000 Extension · Productivity 3,000+ 16 ★ 496KiB

icon

Video Blocker Extension · Productivity 3,000+ 129 ★ 1.93MiB

icon

Gifnope Extension · Productivity 3,000+ 28 ★ 20.25KiB

icon

HTML Content Blocker Extension · Productivity 3,000+ 76 ★ 32.93KiB

icon

Policy Control - JavaScript and Flash blocker Extension · Productivity 3,000+ 12 ★ 20.22KiB

icon

Disable HTML5 Autoplay (Reloaded) Extension · Productivity 3,000+ 239 ★ 29.12KiB

icon

Animation Policy Extension · Accessibility 3,000+ 162 ★ 152KiB

icon

Fast Image Blocker Extension · Productivity 3,000+ 32 ★ 59.92KiB

icon

Nomovdo - Video Blocker Extension · Accessibility 3,000+ 17 ★ 9.24KiB

icon

Images ON/OFF Extension · Developer Tools 3,000+ 103 ★ 51.73KiB

icon

GIF Scrubber Extension · Fun 3,000+ 256 ★ 424KiB

icon

Easy Image Control Extension · Productivity 3,000+ 22 ★ 20.15KiB

icon

Selective Image Blocker Extension · Photos 3,000+ 13 ★ 149KiB

icon

Flash Block (Plus) Extension · Productivity 3,000+ 111 ★ 108KiB

icon

Content Blocker Extension · Productivity 3,000+ 15 ★ 85.56KiB

icon

Click to Remove Element Extension · Productivity 3,000+ 532 ★ 28.63KiB

icon

AutoplayStopper Extension · Productivity 3,000+ 583 ★ 48.49KiB

User reviews

icon

Christian Ramos (ID: 000000badb669111) Voted 4 ★ - Updated 05/31/2024 Thanks! I appreciate it. Awesome work.

icon

Orarange (ID: 000000b21d080b10) Voted 5 ★ - Updated 08/24/2022 aktif

icon

Сергей Ясеневский (ID: 000000aadcc5b88e) Voted 5 ★ - Updated 12/09/2021 Наконец то работает ! Не запускает "предосмотр" в ютубе , при наведении мышью (Браузер Brave). Спасибо разработчикам.

icon

Katja S. (ID: 00000086f7df62f6) Voted 5 ★ - Updated 11/08/2021 Thanks for this great addon! It helps really much. :)

icon

Dakota T (ID: 00000008c56f0ee5) Voted 5 ★ - Updated 11/05/2021 Well I'll be damned... One that actually works... It replaced all gifs with a generic icon. Much better looking