-
Notifications
You must be signed in to change notification settings - Fork 527
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
2617: pdfjs.disabled #114
Comments
Option 4 here, see: #20 (comment) (the ending part) |
Yes, I always have to answer yes by clicking another time to open pdf files. |
What I'm suggesting is something like this: /* 2617: disable pdf.js as an option to preview PDFs within Firefox - EXPLOIT risk
* blablabla - would probably need to adjust the original text here slightly ***/
// user_pref("pdfjs.disabled", true); I guess that would be option 4 (?). pdfjs is still enabled that way, and as far as I understand, is consistent with your "title + pref relationship logic" ie. title says disable and the pref (when un-commented) does disable it. |
I think I caused some confusion by only writing "default value". Maybe we should start using "default value in Firefox" vs "user.js default value" or something like that. Your concerns are all valid and I agree that pdfjs is definitely preferable if the alternative is an outdated Adobe reader or similar. But pdfjs vs something like sumatrapdf, the latter is always way better IMO. |
you're right, and I never really liked the 0400 Quiet Fox title because of it. |
I tested Firefox 53 using this US Constitution PDF. Besides the 2 prefs mentioned, there is also the UI option (don't know which pref it corresponds to) below: If I set:
I'm forced to save to disk (or cancel). If I leave the prefs the same but set:
Then that program is automatically launched when I click on the PDF |
I don't think that's possible ie. JS can't state to use pdfjs. Idk where you got that information.
I think you can stop that behavior if you want, with the
I use
... and same as @RoxKilly, I'm forced to save to disk or cancel. I don't have an external app linked in FF for pdf. You can remove the linked App by clicking on "Use other..." and delete it from there.
it's not a pref afaik, everything under Options >> Applications is stored in |
bump. We only need to change "enable" to "disable", change the value to TRUE and comment it out. The rest of the description can remain the same IMO. PDFjs would still be enabled because FF's default value is FALSE. |
But would the inexperienced/non-knowledgeable perps really change the default via Options>MIME types? I don't think so. But okay, I can change my own user.js to be a more logical item. We can close this then. |
@Atavic, yeah you don't have to tell me, Pants is the one who thinks we should make this idiot-proof.
After I allow several domains and things in noScript + uMatrix the pdf is rendered as HTML5 but that's because they use a copy of pdfjs. That's very different from triggering the built-in PDFjs. PK's user.js also disables pdfjs btw Yes, mozilla will certainly fix stuff quickly but they would first need to be made aware of it. |
I don't think it's necessary to force-enable pdfjs and IMO we can make the pref inactive |
If you want to keep the item as "enable" and with the value "false" you might as well keep the pref active |
no need to be passive aggressive buddy. If that's as far as you're willing to go ie. only make the pref inactive but keep the item as "enable" then yeah, keep the pref active. I already said I'm okay with that and even closed the issue at one point myself, so be my guest. I can understand your reasons and am okay with keeping it that way. nuff said |
I don't like the re-write at all but whatever. Apparently you're the only "PDF security expert" around here:
"When you point one finger, there are three fingers pointing back to you." :) ps: pfdjs (sic) |
earthlng
Sorry for the repost. This is best discussed as a separate topic
2617 (pdfjs).
We have four options:
FALSE
2617: enable pdf.js...
wording to2617: enforce pdf.js...
and make the pref inactive. This means that the default is still observed, and the js no longer meddles with experienced users' who have switched to a possibly more secure pdf reader.TRUE
The text was updated successfully, but these errors were encountered: