javascript browser history listing

后端 未结 2 1293
醉话见心
醉话见心 2021-01-12 00:53

I am familiar with the window.history.back() and the window.history.forward() javascript objects. But is there a method of creating an array with t

相关标签:
2条回答
  • 2021-01-12 01:30

    Check out:

    How do you get the previous url in Javascript?

    In short you can get the number of previous sites visited (history.length) but not the url's.

    0 讨论(0)
  • 2021-01-12 01:38

    No, this would be a huge security problem. You can get history.length to count them if you wish.

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