

In fact, on Windows it can be installed directly from the shell context menu. The package can be installed with a few clicks. Out of this two parts we created a package with an automatic setup which you can download from here. If tattr and int(xml.value(tattr)) = CT_JavaScript:Īnd the configuration for the hook extension is the following:

Params.insert("rid", int(xml.value(ridnode), 16)) Params.insert("id", int(xml.value(idnode), 16)) # we let Cerbero extract the JavaScript for us We explained how packages work in a previous post in case you missed that.

The advantage of using an installable package is that it minimizes the effort on the part of the user to test the code and the deployment method is compatible with both Cerbero Suite and Cerbero Engine. In this post we’ll use a package to deploy the demo code. We have already shown in the past how simple it is to leverage the capabilities of Cerbero SDK to extract JavaScript from PDF documents using a simple hook.
