We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this questionwe want to provide an online bookmark service to our customers. Therefor it would be nice to provide also a function to store local bookmarks into our online tool. This shouldn't be done automatically - the user should confirm this action (only in case someone thinks I want to spy users data). I'm looking for a while now, but I found only that there is no solution, because it's a security risk开发者_如何学JAVA. Is there a way or already a tool for such a functionality in Javascript?
Regards
This is completely impossible.
You need to write a browser addon.
Is there a way or already a tool for such a functionality in Javascript?
Nope, definitely not. Maybe for browser extensions - if it's possible even for them.
No there isn't any solution to do this via javascript. The only solution I can think of is to use a Java Applet to read the client's computer and look for the bookmark.
Another way is you can ask them to export their favorites to a file and upload to your website.
Prompt the user to upload the bookmarks file: http://productforums.google.com/forum/#!topic/chrome/i1r3CgqvgCI
精彩评论