This extension uses the browser.webRequest.onBeforeSendHeaders.addListener
function to rewrite the HTTP Accept
header to accept only images (not the HTML landing page) if the domain is "i.redd.it" or "preview.redd.it".
This is the Manifest V3 version of this extension, and as such, it requires you to turn on some permissions manually. If you don't want to (or you are not using Firefox version 109.0, which is required for Manifest V3), here's the Manifest V2 version. However, be aware that Manifest V2 wil eventually run out of support.
Here's how to configure the permissions:
- Manage the extension.
- Head to the "Permissions" tab.
- Turn on both permissions listed under "Optional permissions for added functionality".
- License: MIT License
- Weekly downloads: 0
- Average daily users: 0
- Rating: 0/5 of 0 ratings
- Created: 2023-07-20 18:07:20
- Last updated: 2023-07-21 12:20:49
- Homepage: https://github.com/tigerros/show-file-on-ireddit
- Support site and email
- Orig: https://addons.mozilla.org/en-US/firefox/addon/show-file-on-i-redd-it/
- API: show-file-on-ireddit-mv3@tigerros.github.io