开发者

How to get the selected tab of the browser using JavaScript?

How to get the selected开发者_开发技巧 tab of the browser using JavaScript?


This is not possible, cause :

1. there are browsers which do not even have tabs

2. browsers usually never let you access their tabs

Using a firefox addon you might be more successfull.


You can't unless they're internal tabs on your page.


You can get the file name of the current tab but you can not select/switch the tab of the browser.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜