We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 085710f commit f2d54d3Copy full SHA for f2d54d3
extensions/firefox/components/pdfContentHandler.js
@@ -52,7 +52,7 @@ pdfContentHandler.prototype = {
52
}
53
54
let targetUrl = aRequest.URI.spec;
55
- if (targetUrl.indexOf('?pdfjs.action=download') >= 0)
+ if (targetUrl.indexOf('#pdfjs.action=download') >= 0)
56
throw NS_ERROR_WONT_HANDLE_CONTENT;
57
58
aRequest.cancel(Cr.NS_BINDING_ABORTED);
web/viewer.js
@@ -139,7 +139,7 @@ var PDFView = {
139
},
140
141
download: function pdfViewDownload() {
142
- window.open(this.url + '?pdfjs.action=download', '_parent');
+ window.open(this.url + '#pdfjs.action=download', '_parent');
143
144
145
navigateTo: function pdfViewNavigateTo(dest) {
0 commit comments