If i click on the history tab on my browser I can reach a folder with all of the links ive visited organized by date.
How can I access this programmatically with Javascript? I'm still new to Javascript but I want something like:
var aListOfDateLinkPairs = window.history.some_get_list_function;
I'm sure this is a big privacy issue for some arbitrary entity but what If I want to implement this (programmatically) for myself in my own browser?
Thanks!
In general history is protected by the browser against javascript accessing it except through back and forward functionality. There are some hacks that can view some amount of history, but they are just that--hacks.
If you want to view/modify history programatically, you could do so via browser plugins. For example, Chrome plugins can use this API
EDIT
Mozilla also has some info about history modification available to Javascript here.
It also looks like this question talks about some of the same things you need.
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