firefox addon - Use native sdk in cross browser plugin tool -
i using kango extension make cross browser plugin.
need use part of native firefox sdk.
have problem following code:
var window = require('sdk/window/utils').getmostrecentbrowserwindow();
this doesn't work @ , doesn't print error.
added sdk
folder mozila sdk folder sdkx/lib/sdk
.
have tried move whole lib
folder inside plugin doesn't work also.
use native features safari , chrome in same way firefox requires import of sdk.
can make work?
Comments
Post a Comment