using XPCOM object from PDFjs, jsPDF or other PDF addon

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
juanato
Posts: 22
Joined: Sun Sep 25, 2011 4:11 pm

using XPCOM object from PDFjs, jsPDF or other PDF addon

Post by juanato » Thu Nov 06, 2014 11:55 am

Hello. I would apreciate any experience about calling PDF files to search pattern from iMacros and collect these data to export. May be via XPCOM, calling loadURL to inject javascript tag in the current page to load local PDFs and search the same pattern in all the adobe files.

Thanks in advance.

You can:

VERSION BUILD=8820413 RECORDER=FX
TAB T=1
URL GOTO=http://mozilla.github.io/pdf.js/web/vie ... myfile.pdf
URL GOTO=mozilla.github.io/pdf.js/web/viewer.html?file=c:\
URL GOTO=http://mozilla.github.io/pdf.js/web/vie ... pagina.pdf


But the URl may be encoded to prevent violation in the XPCOM level from Firefox when load local files.




Using the primitive PDFJS.get required to handle views of PDFs using the internal PDF html5 viewer in Firefox requires
load ...

var pdfUrl = "http://localhost/test.pdf"
var pdf = PDFJS.getDocument(pdfUrl);

... compatibility.js and pdf.js
Post Reply