Scriptable NPAPI plugin doesn't work with Firefox
I'm developing FF extension and plugin that work in tandem. My Extension injects npapi plugin into the html and calls some method of the plugin after an event occures. Here is the code I use for injection: if (window.content.document.getElementById("rondyoHookMessageElement") == null) { var element = window.content.document.createElement("object"); element.type = "application/x-hook-msg"; element.id = "rondyoHookMessageElement"; element.width = 0; element.height = 0; window.content.document.body.appendChild(element); } And when I need to use a method of the plugin I do the following: var