问题
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