Adobe AIR to detect URL of active browser/tab

2019-09-14 16:15发布

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条回答
趁早两清
2楼-- · 2019-09-14 16:19

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.

查看更多
登录 后发表回答