Get browser bookmarks via javascript

2020-04-05 08:36发布

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

4条回答
混吃等死
2楼-- · 2020-04-05 09:18

This is completely impossible.

You need to write a browser addon.

查看更多
对你真心纯属浪费
3楼-- · 2020-04-05 09:23
一纸荒年 Trace。
4楼-- · 2020-04-05 09:35

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.

查看更多
看我几分像从前
5楼-- · 2020-04-05 09:38

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.

查看更多
登录 后发表回答