Get browser bookmarks via javascript

僤鯓⒐⒋嵵緔 提交于 2019-12-30 18:47:10

问题


we 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. Is there a way or already a tool for such a functionality in Javascript?

Regards


回答1:


This is completely impossible.

You need to write a browser addon.




回答2:


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.




回答3:


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.




回答4:


Prompt the user to upload the bookmarks file: http://productforums.google.com/forum/#!topic/chrome/i1r3CgqvgCI



来源:https://stackoverflow.com/questions/5122646/get-browser-bookmarks-via-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!