I know that pdfium provides a javascript API ( see this question ). But I can not find what to call these functions. On the page with the rendered PDF, I can see the embed tag, but I do not know what to do with it.
var p = document.getElementsByTagName('embed')[0]
Gives me this:
function anonymous()
__proto__: Object
<function scope>
And in the source code of the Chrome extension there is this function in pdf.js:
handleScriptingMessage: function(message) {...}
But it only allows the message "selectAll".
I would really appreciate if someone would tell me where I can learn more about this or how to interact with pdfium using javascript
source
share