Adobe AIR to detect URL of active browser/tab

橙三吉。 提交于 2020-01-06 08:47:08

问题


Using Adobe AIR + related technologies, is it possible to detect the URL of the active tab/window of the active browser?

For instance, if my user is surfing in IE8 on www.example.com/subdirectory/, can I retrieve that data for use in my Adobe AIR RIA?


回答1:


Not easily.

In theory you could use NativeProcess and run some local machine code to figure it out; assuming the browser exposes it via some API. OF course, I'm not sure how you'd trigger that code from AIR if the browser was the active window.



来源:https://stackoverflow.com/questions/4174987/adobe-air-to-detect-url-of-active-browser-tab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!