Getting the url's of all open tabs with jQuery/Javascript?

前端 未结 3 1725
野的像风
野的像风 2021-01-16 07:49

I know I can read the URL of the current page, but is it possible to read the url\'s of all open tabs?

Thanks!

相关标签:
3条回答
  • 2021-01-16 08:08

    No, you cannot, for security reasons.

    0 讨论(0)
  • 2021-01-16 08:13

    You cannot do this from the client-side.

    What is your motivation?

    You should never have the need to do this.

    0 讨论(0)
  • 2021-01-16 08:19

    No. It is not possible, unless it's being done from a Firefox extension or something similar.

    I'm sure you can see why this would lead to all sorts of privacy issues.

    0 讨论(0)
提交回复
热议问题