This question already has answers here:
Is it possible to detect a visitor's browsing history using JavaScript or PHP?
(5 answers)
Closed 9 years ago.
Is possible read the browser history with Javascript? If the answer is Yes, how can I do it?
I want to read it and save it in a JS variable.
No. Other sites visited by a user are their business, not the business of every website they visit. Browsers do not expose that information to web sites.
Browsers go to pretty serious lengths to plug anything that could leak a user's history to websites
In general history is protected by the browser against javascript accessing it except through back and forward functionality.
Source From : Access my entire browsing history via Javascript
Related
This question already has answers here:
How to get client's IP address using JavaScript? [closed]
(31 answers)
Closed 6 months ago.
I'm looking for a resolution, how can I get user public IP using only my page. My assumption is not connect to external applications to keep application safe. Page has been built with a ReactJS. Is it possible to do from browser and only JavaScript level? Or do I have to create my custom API to get user IP?
Thanks you advance.
https://codesandbox.io/s/how-to-get-user-ip-address-in-reactjs-kh3xl?from-embed=&file=/src/App.js:140-145
This might be what you're looking for ;)
This question already has answers here:
How to change registry settings on a system through web browser
(4 answers)
Closed 5 years ago.
I am new to penetration testing. My requirement is to update registry values from browser using a client side programming language like javascript. Is it possible?
No, JavaScript can't read / write arbitrary files to the hard disk, copy them or call programs. It does not have direct access to the operating system.
This is done for the security of users, so that an attacker could not use JavaScript to obtain personal data or somehow damage the user's computer.
This question already has answers here:
Local Storage vs Cookies
(9 answers)
Closed 6 years ago.
I'd like to ask why big players like facebook, google still uses cookies if localstorage is much better and secure for same.
They are not the same thing at all: you can use them in a similar way, but they serve different purposes.
Take a look at this thread: Local Storage vs Cookies
This question already has answers here:
How do I check connection type (WiFi/LAN/WWAN) using HTML5/JavaScript?
(4 answers)
Closed 8 years ago.
Is there a way to enforce browser or web page to use 3G network ( not Wi-Fi ). I don't want to use any native code, I have to do this in JavaScript code.
It's not so simple at the moment. The browser would have to give out that information. Firefox started recently an experimental feature which allows this via the navigator DOM object, but it's the only browser that supports it so far.
Check out navigator.connection.
This question already has answers here:
Can you access a client's bookmarks using javascript with their permission?
(5 answers)
Closed 4 years ago.
Is there any API on Internet Explorer to retrieve the users' bookmarks with javascript ?
thanks,
Bruno
No. That would be a huge security hole. You could do it with ActiveX if you are, for example, working in a corporate intranet environment on IE, or with an extension if you are targeting a specific browser (such as Firefox or Chrome).
EDIT Reviewing your other questions, I realise you are asking if there is a way of doing it specifically for IE, with the user's permission. You could write an ActiveX control which get's the information for you. See http://www.codeproject.com/KB/shell/iefavorites.aspx for an example. I don't know of a way to do it through JavaScript directly though.