Display inline
Does not work everywhere Change the Content-Type and Content-Disposition headers to force images and pdf documents to open in the browser window.
Additional files are visible only to premium users
manifest.json
{
"name": "Display inline",
"description": "Change the response content type and disposition to force images and pdf documents to open in the browser window",
"version": "0.3resigned1",
"manifest_version": 2,
"background": {
"scripts": [
"background.js"
]
},
"permissions": [
"<all_urls>",
"webRequest",
"webRequestBlocking"
],
"applications": {
"gecko": {
"id": "[email protected]"
}
}
}