Removes Content-Disposition: attachment HTTP header to allow view files instead of downloading them. Extension icon acts as toggle.

Latest Version

Version
0.0.6
Update
October 27, 2022
Size
15.47KiB
Developer
Category
Users
5,000+
Rating
4.31429 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ContextMenus
DeclarativeNetRequest
Storage
See more

Undisposition [Racle fork] Extension

Removes Content-Disposition: attachment HTTP header to allow view files instead of downloading them.
Sometimes you want to see files in Chrome inline, but Chrome started to download it.
This is quite irritating. This extension relaxes this behavior.
Extension icon acts as quick toggle on/off.

Source code: https://github.com/Racle/undisposition

Original extension: Undisposition: https://chrome.google.com/webstore/detail/undisposition/hjfncfijclafkkfifjelofbeclipplfi
Original code: https://github.com/cielavenir/ctouch/tree/master/undisposition
Issue this fork is based on: https://github.com/cielavenir/ctouch/issues/1
(Thanks to GianPaolo70!)

Original description:

Remove Content-Disposition: attachment HTTP header.
Sometimes you want to see files in Chrome inline, but Chrome started to download it.
This is quite irritating. This extension relaxes this behavior.

Changelog:

Version 0.0.6:
Blacklist bugfix

Version 0.0.5:
Manifest V3 support.
Added blacklist support.
Right click Undisposition icon => Settings to set domains to blacklist.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "author": "@racle", "name": "Undisposition [Racle fork]", "description": "Removes Content-Disposition: attachment HTTP header to allow view files instead of downloading them. Extension icon acts as toggle.", "version": "0.0.6", "manifest_version": 3, "background": { "service_worker": "undisposition_bg.js", "type": "module" }, "icons": { "16": "icons/icon16.png", "19": "icons/icon19.png", "48": "icons/icon48.png", "128": "icons/icon128.png" }, "action": { "default_title": "Undisposition" }, "permissions": ["contextMenus", "declarativeNetRequest", "storage"], "host_permissions": ["http://*/", "https://*/"]}
Read more