is there a javascript function to obtain the tab id the script is working in?
We are trying to determine the browser tab id for a security patch
We are trying to determine the browser tab id for a security patch
All Replies (1)
Sorry, but what do you mean by "browser tab id"?
Generally speaking, unprivileged scripts in web pages perceive themselves as running in a window object and have no knowledge of whether the window object is the only open tab or one of many tabs.
If you are developing an add-on, you might want to pose your question on this site: https://discourse.mozilla-community.org/c/add-ons