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

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