Prevent PDF Viewer on Download
Prevents a new tab from opening after downloading a PDF and optionally shows a `Save As...` window to choose where to save the PDF.
Additional files are visible only to premium users
manifest.json
{
"manifest_version": 2,
"name": "Prevent PDF Viewer on Download",
"version": "1.1",
"description": "Instantly closes the new tab that is opened after downloading a PDF",
"homepage_url": "https://github.com/Morpheus0x/extension-prevent-pdf-viewer",
"background": {
"scripts": [
"background.js"
]
},
"options_ui": {
"page": "settings.html"
},
"permissions": [
"tabs",
"storage",
"downloads",
"webNavigation",
"webRequest",
"webRequestBlocking",
"<all_urls>"
],
"browser_specific_settings": {
"gecko": {
"id": "{ffb7264d-cb68-4954-83e7-b4a8740a443a}"
}
}
}