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.
精彩评论