showkey
showkey

Reputation: 300

The history list in my firefox browser?

history.length
1

Number 1 displayed on my firefox console,why so many web urls when to click Ctrl + H?

enter image description here
How to list all the historical urls with javascript?

Upvotes: 0

Views: 58

Answers (1)

deceze
deceze

Reputation: 522342

history exposes the session history of the current tab/window. I.e., anything you can get back to using the back button in the upper left.

That is not your entire browser history ever visited, which you see when pressing Ctrl+H.

No, the Javascript API doesn't expose a complete history of everything ever, as a simple security measure.

Upvotes: 2

Related Questions