Hello.
I built the library according to https://webpg.org/docs/webpg-npapi/. After I had added extention to chrome I got "WebPG NPAPI Plugin valid: undefined; version undefined". Code, which uses the extention below:
webpg.plugin = document.getElementById("webpgPlugin");
console.log("WebPG NPAPI Plugin valid: " + webpg.plugin.valid + "; version " + webpg.plugin.version);
What did I do wrong?