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.
Related
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:
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
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Javascript redirect for Internet Explorer browser version user agent?
Detect IE version in Javascript
What is the best practice if I do not want to allow any users to use the site unless they have ie9 or higher, or firefox/chrome/safari. ie7 and ie8 should not work and it should redirect to a notification page that tells the user to upgrade his or her browser. Is this even the best practice for this situation? If so, how would the code look in javascript.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Will HTML5 allow web apps to make peer-to-peer HTTP connections?
I want to make a Internet connection from one device to another how to do the coding of it using html5 and javascript
You can't - at least not directly.
Not only does JS not include any suitable APIs, but things like NAT devices tend to get in the way of device-to-device connections.
Possible work arounds include having both devices make a connection to a central server, perhaps using WebSockets.
This question already exists:
Closed 11 years ago.
Possible Duplicate:
get the values of the fields in a form in an android webview android
I would like to get field data from a web page that is in an in-app browser. Is it possible to call a javascript function from the browser and retrieve the data from the page? Something similar to iOS' stringByEvaluatingJavaScriptFromString method.
Thanks,
Rob
Found this older question on basiclly the same situation.