Can you access a client's bookmarks using javascript with their permission?

后端 未结 5 846
我在风中等你
我在风中等你 2021-01-16 22:36

I want to make it easier for a user to import bookmarks to my server. Is there anyway to automate this process using javascript to obtain the user\'s bookmarks? I\'m assumin

5条回答
  •  独厮守ぢ
    2021-01-16 23:01

    As yourself and others have noted, it's not possible because of privacy and security implications.

    What you can do however is to import bookmarks from a source (XML, JSON, HTML...). Most browsers have an export bookmarks feature that generates a file. You can parse that to get what you want.

提交回复
热议问题