0 Replies Latest reply on May 6, 2010 11:14 AM by KaraokeMatt

    Firefox Reader plugin and PDF highlighting

    KaraokeMatt

      Hi everyone,

       

      I'm using javascript from a browser to highlight words inside of PDFs using the browser plugin, like so:

       

         var pdfEmbed = popup.document.embeds[0];
         pdfEmbed.setCurrentPage(page);
         pdfEmbed.setViewScroll("FitH", offset);
         pdfEmbed.setCurrentHighlight(left, right, top, bottom);

       

      This works fine in IE, but when I try the same thing in Firefox nothing happens and I get this javascript error:

       

         Error: pdfEmbed.setCurrentPage is not a function

       

      I've tried this several different ways, but Firefox always acts like these functions aren't supported in that version of the Reader plugin.  Is that true?  I've looked online and in the documentation but haven't found a definitive answer for this.

       

      Thanks!