[英]Get the firefox browser window handle from the extension's javascript
I'm writing a extension that needs to get the browser window handle. 我正在写一个需要获取浏览器窗口句柄的扩展。 The extension will pass the window handle to the native c++ module.
该扩展会将窗口句柄传递给本机c ++模块。
How do I get the browser window handle from the extension's javascript? 如何从扩展程序的javascript获取浏览器窗口句柄?
Hopefully this might help a little :) 希望这可能会有所帮助:)
https://developer.mozilla.org/en-US/docs/Code_snippets/Finding_Window_Handles https://developer.mozilla.org/en-US/docs/Code_snippets/Finding_Window_Handles
and maybe this 也许这
http://forums.mozillazine.org/viewtopic.php?f=19&t=2449775 http://forums.mozillazine.org/viewtopic.php?f=19&t=2449775
Regards, 问候,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.