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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With