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

.js file as Plug-in

14 views
Skip to first unread message

aditya...@gmail.com

unread,
Feb 23, 2014, 7:03:38 AM2/23/14
to
Hi,
I have a .js file which adds annotations to the PDF file that is rendered on the browser.

I don't know how to use the .js file as a plug-in. Now I know how to include that file in <script> tags in the webpage but thats not i want.

I want to be able to install the file as anyother plug-in.

As soon as PDF is rendered the browser should invoke my .js file. How to do it??

Some one please provide me an insight.


Benjamin Smedberg

unread,
Feb 24, 2014, 3:43:01 PM2/24/14
to aditya...@gmail.com, dev-tech...@lists.mozilla.org
Currently you'd have to do this as a Firefox extension the way pdf.js
and shumway work currently. See
https://bugzilla.mozilla.org/show_bug.cgi?id=558184 for jschoenick's
work underway to make this easier and less fragile.

--BDS

0 new messages