Skip to content Skip to sidebar Skip to footer

How To Get Information Like History From Your Browser And Place Them In A Div Element

i am new to programming. i was wondering if it is possible to get the favourites or history that we commonly add in our browser. Example : let say i want to display the favourites

Solution 1:

If something like this were possible I'm pretty sure it would be exploited to breach user privacy left, right and centre.

You can use the JavaScript window.history function to automatically navigate back and forward from a page or to navigate to a specific part of the history, but this is limited to the current tab a user has open or the browser window (if no tabs are supported).

See https://developer.mozilla.org/en/docs/DOM/Manipulating_the_browser_history


Solution 2:

This is not possible. Maybe if you write a browser related plugin, extension or addon, however they call it.

Chrome: http://developer.chrome.com/extensions/bookmarks.html

Firefox: https://developer.mozilla.org/en-US/docs/Places_Developer_Guide#Identifying_Items_in_the_Bookmark_System


Post a Comment for "How To Get Information Like History From Your Browser And Place Them In A Div Element"