-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Tab URLs are broken in Chrome #6444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
A few years ago, we used a different method to replace the document with HTML for the viewer. The disadvantage of this method is that it could take a few seconds in the worst case and you would briefly see a flash of gibberish (and it doesn't work for iframes either). Then I submitted a patch to Chromium so that we could get a better method to show the viewer more quickly, by intercepting the PDF request and redirecting it to the viewer (#3751). I'm aware of the usability issue with the viewer, and I'm investigating options to resolve this. E.g. the development of a new Chrome extension API that allows extensions to modify the displayed URL (https://groups.google.com/a/chromium.org/d/msg/apps-dev/95IVTx4AiFU/gax8vKlbTD4J). Until that feature is available, the easiest way to get a URL for the PDF is to click on the PDF.js icon in the omnibox and select the URL: |
Welp. Now the PDF icon is not even shown in the omnibox. Chromium team have lost their minds.. |
Brief summary of #9646, which was closed as duplicate of this but takes a slightly different angle. Using a |
This |
I'm considering to introduce an option to allow the user to choose between the current behavior (URL replaced) and the requested feature (URL preserved). Chrome does still not have first-class support for allowing extensions to handle specific MIME types. My implementation plan is as follows:
|
@Rob--W is this still planned? |
I forgot about this one. I've scheduled a reminder for myself to take another look in a month. |
Tab URLs of PDF files opened with this extension in Chrome look like this:
chrome-extension://oemmndcbldboiebfnladdacbdfmadadm/http://example.com/test.pdf
This is a bug for following reasons:
Can the URL be the actual URL of the PDF file as it is in the screenshot of the extension on Chrome Web Store?
/cc @Rob--W
The text was updated successfully, but these errors were encountered: