Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

is there a javascript function to obtain the tab id the script is working in?

more options

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

Tất cả các câu trả lời (1)

more options

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