Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to get the another tab url form my page?

I have google or some other sites in my browser tab. In another tab i have my html page. I want to get the url of that google page in my html page.Please help me.

Thanks.

like image 551
Balakumar Avatar asked Jan 30 '26 00:01

Balakumar


1 Answers

No It is not possible to get the URL of other tabs that are opened by the users Its against privacy and its a security threat you can only access the URL of the current tab by using window.location and window.location.search to get the query string

like image 144
Vignesh Subramanian Avatar answered Feb 01 '26 15:02

Vignesh Subramanian



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!