Built-in PDF viewer for SM
-
- Posts: 153
- Joined: September 13th, 2009, 1:12 pm
Built-in PDF viewer for SM
Hello. How can I get PDFs to be displayed inside SeaMonkey like all the other browsers do? I tried downloading PDF Viewer (PDF.js) 2.0.426, and have it installed, but it doesn't seem to do anything. Is there something I'm doing wrong?
- WaltS48
- Posts: 5141
- Joined: May 7th, 2010, 9:38 am
- Location: Pennsylvania, USA
Re: Built-in PDF viewer for SM
Version 1.6.304 of the extension works for me in my 2.49.2 on Linux.
Nothing shows up for PDF under Edit > Preferences > Browser > Helper Applications. So it is a mystery as to why it works.
Try version 1.9.426. https://mozilla.github.io/pdf.js/gettin ... /#download
Nothing shows up for PDF under Edit > Preferences > Browser > Helper Applications. So it is a mystery as to why it works.
Try version 1.9.426. https://mozilla.github.io/pdf.js/gettin ... /#download
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
-
- Posts: 153
- Joined: September 13th, 2009, 1:12 pm
Re: Built-in PDF viewer for SM
Stupid question time, how do I install this version? The other one was an xpi.
- WaltS48
- Posts: 5141
- Joined: May 7th, 2010, 9:38 am
- Location: Pennsylvania, USA
Re: Built-in PDF viewer for SM
Sorry, I did not notice that was a.zip file.
Where did you find 2.0.246?
Where did you find 2.0.246?
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
-
- Posts: 270
- Joined: January 20th, 2015, 12:29 pm
Re: Built-in PDF viewer for SM
Try this link (got it from the readme.md on the pdf.js git repo):
http://mozilla.github.io/pdf.js/extensi ... pdf.js.xpi
http://mozilla.github.io/pdf.js/extensi ... pdf.js.xpi
- therube
- Posts: 21703
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: Built-in PDF viewer for SM
That installs, but then how to "associate" pdf with "SeaMonkey" such that clicking a .pdf link in SeaMonkey causes it to open (via pdf.js) in SeaMonkey?
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
- WaltS48
- Posts: 5141
- Joined: May 7th, 2010, 9:38 am
- Location: Pennsylvania, USA
Re: Built-in PDF viewer for SM
What version of the extension does the above link provide?
I have version 1.6.304 installed and it works without any Helper Application appearing in my Preferences.
I'm a bit baffled by that behavior.
Test a few. https://duckduckgo.com/?q=PDF+Test&t=seamonkey&ia=web
I have version 1.6.304 installed and it works without any Helper Application appearing in my Preferences.
I'm a bit baffled by that behavior.
Test a few. https://duckduckgo.com/?q=PDF+Test&t=seamonkey&ia=web
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
- WaltS48
- Posts: 5141
- Joined: May 7th, 2010, 9:38 am
- Location: Pennsylvania, USA
Re: Built-in PDF viewer for SM
Answering my own question. It installs version 2.0.248.
However SeaMonkey does not have the Portable Document Format (PDF) Content Type in Helper Applications, that uses Preview in Firefox as the Action in Firefox.
Maybe you could try registering a protocol?
http://kb.mozillazine.org/Register_protocol
I have Acrobat Reader DC installed on Windows and SeaMonkey uses that for .pdf files.
However SeaMonkey does not have the Portable Document Format (PDF) Content Type in Helper Applications, that uses Preview in Firefox as the Action in Firefox.
Maybe you could try registering a protocol?
http://kb.mozillazine.org/Register_protocol
I have Acrobat Reader DC installed on Windows and SeaMonkey uses that for .pdf files.
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
- therube
- Posts: 21703
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: Built-in PDF viewer for SM
Above, is version 2.0.428.
Mc said "i've set pdf to "Always ask" and so it opens it with pdf.js", but on my end, I have no "PDF" in Helper Applications, only "Adobe Acrobat" (& setting that to Always ask doesn't help).
Mc said "i've set pdf to "Always ask" and so it opens it with pdf.js", but on my end, I have no "PDF" in Helper Applications, only "Adobe Acrobat" (& setting that to Always ask doesn't help).
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
- therube
- Posts: 21703
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: Built-in PDF viewer for SM
Another thread mentioned a version, 1.4.124, http://web.archive.org/web/201603041906 ... pdf.js.xpi & that looks to work.
As does this newer version, 1.9.641, http://web.archive.org/web/201710140351 ... pdf.js.xpi.
As does this newer version, 1.9.641, http://web.archive.org/web/201710140351 ... pdf.js.xpi.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
- WaltS48
- Posts: 5141
- Joined: May 7th, 2010, 9:38 am
- Location: Pennsylvania, USA
Re: Built-in PDF viewer for SM
Okay, I just installed version 1.9.641 into my SeaMonkey on Windows.
Set both of my Adobe Acrobat Forms Document entries in Helper Applications to Always Ask. (That might not exist if a user doesn't have Adobe Reader DC installed on Windows)
Loaded the PDF test search results link from my previous posts. Clicked several test links and they all just open using the extension. SeaMonkey doesn't even ask.
EDIT: Reset the Helper Applications to "Use Adobe Acrobat (in SeaMonkey)", quit and restarted SeaMonkey. The PDF's still open using the pdf.js extension. When I open a link in a new tab I see "Loading" then "PDF.js Viewer" as the tab loads, then the PDF.
Set both of my Adobe Acrobat Forms Document entries in Helper Applications to Always Ask. (That might not exist if a user doesn't have Adobe Reader DC installed on Windows)
Loaded the PDF test search results link from my previous posts. Clicked several test links and they all just open using the extension. SeaMonkey doesn't even ask.
EDIT: Reset the Helper Applications to "Use Adobe Acrobat (in SeaMonkey)", quit and restarted SeaMonkey. The PDF's still open using the pdf.js extension. When I open a link in a new tab I see "Loading" then "PDF.js Viewer" as the tab loads, then the PDF.
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
-
- Posts: 124
- Joined: November 4th, 2002, 10:54 pm
Re: Built-in PDF viewer for SM
According to this Github issue, version 2.0.305 also works in Seamonkey:
https://github.com/mozilla/pdf.js/issue ... -371229576
However the linked .xpi is already gone.
https://github.com/mozilla/pdf.js/issue ... -371229576
However the linked .xpi is already gone.
-
- Posts: 270
- Joined: January 20th, 2015, 12:29 pm
Re: Built-in PDF viewer for SM
https://github.com/mozilla/pdf.js/commi ... 4913d221c4
I think the last version that will work in SeaMonkey 2.49 is probably the one from just before this pull request was merged into the tree. At some point I'll try building the .xpi myself and see if it works. If it does, maybe I could submit it to AMO so people can get to it.
I think the last version that will work in SeaMonkey 2.49 is probably the one from just before this pull request was merged into the tree. At some point I'll try building the .xpi myself and see if it works. If it does, maybe I could submit it to AMO so people can get to it.
-
- Posts: 270
- Joined: January 20th, 2015, 12:29 pm
Re: Built-in PDF viewer for SM
I put together a version of pdf.js based on the last SeaMonkey-compatible version but with some additional patches cherry-picked. I'll probably keep updating it periodically as long as there are patches that apply cleanly.
https://addons.mozilla.org/en-US/seamon ... seamonkey/
https://addons.mozilla.org/en-US/seamon ... seamonkey/
- therube
- Posts: 21703
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: Built-in PDF viewer for SM
Thank you.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript