Render PDFs Inline

Overview

Force PDFs to display inline instead of downloading. By Nick Semenkovich <semenko@alum.mit.edu>

Force PDFs to render inline instead of downloading. By Nick Semenkovich <semenko@alum.mit.edu> Annoyed by PDFs that save and download instead of opening? This extension forces PDFs to render inline instead of downloading (by overwriting the "Content-disposition: attachment" header). This extension works using the webRequest API -- and it's a bit slower than the alternative extension. If you're using the Beta or Dev versions of Chrome, my alternative extension uses the Declarative Web Request API -- which is faster. Features: - Only rewrites content that's in a main window (main_frame) - Rewrites all responses with "Content-type: application/pdf" - Rewrites responses with "Content-type: application/octet-stream" with a filename=*.pdf WARNING: This may have security risks by overriding the attachment header. Use at your own risk. ======== CODE ======== Please contribute! https://github.com/semenko/chrome-force-pdf-inline Copyright 2014-2015, Nick Semenkovich <semenko@alum.mit.edu> Released under the MIT License. See LICENSE for details.

3.9 out of 515 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Review's profile picture

porgMar 21, 2024

Good feature idea! Sadly a of 2024-03-21 the extension in it lates released version 2016.4.7 is not working anymore in the current Chrome 122.0.6261.129. Tried it on https://www.bmf.gv.at/services/publikationen/das-steuerbuch.html where the PDFs use "Content-Disposition: attachment" and enforcing PDF inline display fails, instead the PDFs just trigger a download.

Review's profile picture

AmirOct 11, 2022

All you need to not to save a PDF but to read it!

Review's profile picture

Hari TharaniJul 14, 2020

not even opening very bad n not useful

1 out of 3 found this helpful

Details

  • Version
    2016.4.7
  • Updated
    April 8, 2016
  • Size
    20.37KiB
  • Languages
    English
  • Developer
    Website
    Email
    semenko@alum.mit.edu
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has not provided any information about the collection or usage of your data.

Related

PDF Viewer

1.0(1)

Uses HTML5 to display PDF files directly in the browser.

Hover Read

3.5(6)

Hoverzoom for articles.

Render Selection

4.0(3)

Render selected text as HTML using Render Selection. This extension adds a a menu item to the context menu so that when you have…

Undisposition [Racle fork]

4.5(33)

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

Docs Viewer

4.5(8)

Easily view PDF and MS Office documents in your browser.

No PDF Download

4.4(39)

Opens all PDF files directly in the browser.

PDF Forcedownload Blocker

3.1(40)

This extension prevents webservers from forcing pdfs to download rather than open in browser

Extension log

4.9(11)

Logs when an extension is installed, uninstalled, upgraded, enabled or disabled. Also keeps track of each chrome update.

Soda PDF Viewer

5.0(2)

Allows you to view pdf files with the Soda online pdf viewer.

Modify Content-Type

4.3(33)

Change the response content type to force documents to open in or outside the browser window or in a special view mode (PDF, XML...)

Wiki Researcher

4.2(4)

Don't Waste Time Opening Multiple Wiki Windows And Lose Track Of What You Are Reading. Do More With Search,Books And NYT Articles

Block Unreachable Scripts

4.2(5)

Prevent unreachable servers from stalling websites by disabling their scripts for 5 minutes if they previously could not load.

PDF Viewer

1.0(1)

Uses HTML5 to display PDF files directly in the browser.

Hover Read

3.5(6)

Hoverzoom for articles.

Render Selection

4.0(3)

Render selected text as HTML using Render Selection. This extension adds a a menu item to the context menu so that when you have…

Undisposition [Racle fork]

4.5(33)

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

Docs Viewer

4.5(8)

Easily view PDF and MS Office documents in your browser.

No PDF Download

4.4(39)

Opens all PDF files directly in the browser.

PDF Forcedownload Blocker

3.1(40)

This extension prevents webservers from forcing pdfs to download rather than open in browser

Extension log

4.9(11)

Logs when an extension is installed, uninstalled, upgraded, enabled or disabled. Also keeps track of each chrome update.

Google apps