Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PDF.js versions

898 views
Skip to first unread message

F Glopez

unread,
Mar 20, 2013, 3:20:47 PM3/20/13
to dev-p...@lists.mozilla.org

Hi
there,


I
have a question you may want to answer,

as
far as I know the version of PDF.js embedded on Firefox 'release' (
now on 19.0.2 ) is different from the version of PDF.js on Mozilla
addons website.

Well,
the question is : How can a user check which is the version of
PDF.js embedded on Firefox ?


Thanks
a lot ... and congratulations for the PDF viewer, it's very
confortable and it's getting better each release.

Yury Delendik

unread,
Mar 28, 2013, 4:08:00 PM3/28/13
to F Glopez
On 3/20/2013 2:20 PM, F Glopez wrote:
> How can a user check which is the version of
> PDF.js embedded on Firefox ?

Please find version number near 'PDFJS.version' text in
resource://pdf.js/build/pdf.js


F Glopez

unread,
Mar 29, 2013, 6:03:09 AM3/29/13
to mozilla-d...@lists.mozilla.org

Well,
I expected something like ... modifying an 'about:config' key to
reveal a value ... or maybe checking a hidden profile's file. I am
just a USER and my javascript knowledge is ZERO.

Either
way, since I am very interested in being able to discriminate between
PDF viewer versions on Firefox 'release' and Firefox addon, I would
appreciate if somebody could show me the several steps needed to
reach the so called 'resource://pdf.js/build/pdf.js' .


Which
is the first step ... maybe opening the javascript console ???


Thank
you.

________________________________
De: Yury Delendik <ydel...@mozilla.com>
Para: F Glopez <f.gl...@ymail.com>; mozilla-d...@lists.mozilla.org
Enviado: Jueves 28 de marzo de 2013 21:08
Asunto: Re: PDF.js versions



On 3/20/2013 2:20 PM, F Glopez wrote:

>  How can a user check which is the version of
> PDF.js embedded on Firefox ?

Please find version number near 'PDFJS.version' text in resource://pdf.js/build/pdf.js

Brendan Dahl

unread,
Mar 29, 2013, 12:32:25 PM3/29/13
to F Glopez, mozilla-d...@lists.mozilla.org
Just copy/paste that url into the url bar and you should see a text file and on the 19th line you'll see the version.


On Mar 29, 2013, at 3:03 AM, F Glopez <f.gl...@ymail.com> wrote:

>
> Well,
> I expected something like ... modifying an 'about:config' key to
> reveal a value ... or maybe checking a hidden profile's file. I am
> just a USER and my javascript knowledge is ZERO.
>
> Either
> way, since I am very interested in being able to discriminate between
> PDF viewer versions on Firefox 'release' and Firefox addon, I would
> appreciate if somebody could show me the several steps needed to
> reach the so called 'resource://pdf.js/build/pdf.js' .
>
>
> Which
> is the first step ... maybe opening the javascript console ???
>
>
> Thank
> you.
>
>
>
> ________________________________
> De: Yury Delendik <ydel...@mozilla.com>
> Para: F Glopez <f.gl...@ymail.com>; mozilla-d...@lists.mozilla.org
> Enviado: Jueves 28 de marzo de 2013 21:08
> Asunto: Re: PDF.js versions
>
> On 3/20/2013 2:20 PM, F Glopez wrote:
>> How can a user check which is the version of
>> PDF.js embedded on Firefox ?
>
> Please find version number near 'PDFJS.version' text in resource://pdf.js/build/pdf.js
> _______________________________________________
> dev-pdf-js mailing list
> dev-p...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-pdf-js

F Glopez

unread,
Mar 29, 2013, 4:47:41 PM3/29/13
to Brendan Dahl, mozilla-d...@lists.mozilla.org

I
see ,

well
... when 'PDF Viewer' addon is installed PDFJS.version reflects the
addon version number ... which is good.


The
problem comes when asking for PDFJS.version when the addon is NOT
installed. PDFJS.version is missing ... so that I can NOT check which
'PDF Viewer' version Firefox 'release' embed by default.

And
finally I can NOT compare 'PDF Viewer' versions between Firefox
'release' and Firefox addon ... which is my original and main goal.

Am
I missing something ???

_______________________________________________________________________

'PDF
Viewer' - INSTALLED


var
PDFJS = {};
PDFJS.version
= '0.7.236';
PDFJS.build
= 'f8e70dc';

_______________________________________________________________________

'PDF
Viewer' - NOT INSTALLED


var
PDFJS = {};

(function
pdfjsWrapper() {
//
Use strict in our context only - users might not want it
'use
strict';

PDFJS.build
=
'4e90760';

________________________________
De: Brendan Dahl <bd...@mozilla.com>
Para: F Glopez <f.gl...@ymail.com>
CC: "mozilla-d...@lists.mozilla.org" <mozilla-d...@lists.mozilla.org>
Enviado: Viernes 29 de marzo de 2013 17:32
Asunto: Re: discussions of PDF.js project PDF.js versions



Just copy/paste that url into the url bar and you should see a text file and on the 19th line you'll see the version.


On Mar 29, 2013, at 3:03 AM, F Glopez <f.gl...@ymail.com> wrote:

>
> Well,
> I expected something like ... modifying an 'about:config' key to
> reveal a value ... or maybe checking a hidden profile's file. I am
> just a USER and my javascript knowledge is ZERO.
>
> Either
> way, since I am very interested in being able to discriminate between
> PDF viewer versions on Firefox 'release' and Firefox addon, I would
> appreciate if somebody could show me the several steps needed to
> reach the so called 'resource://pdf.js/build/pdf.js' .
>
>
> Which
> is the first step ... maybe opening the javascript console ???
>
>
> Thank
> you.
>
>
>
> ________________________________
> De: Yury Delendik <ydel...@mozilla.com>
> Para: F Glopez <f.gl...@ymail.com>; mozilla-d...@lists.mozilla.org
> Enviado: Jueves 28 de marzo de 2013 21:08
> Asunto: Re: PDF.js  versions
>
> On 3/20/2013 2:20 PM, F Glopez wrote:

>>  How can a user check which is the version of
>> PDF.js embedded on Firefox ?
>

0 new messages