检索访客的书签
我正在开发一个网站,需要了解访问者的书签。出于安全原因,访问者可以输入登录名和密码。
我不知道如何继续以及可以使用什么语言来执行此操作(JavaScript 或 PHP 会很棒)。
有人有任何想法或已经做过类似的事情吗?
I'm working on a website where there is a need to know the visitors' bookmarks. For security reasons the visitors could put a login and a password.
I have no idea on how to proceed and the languages I could use to do this (JavaScript or PHP would be great).
Someone has any idea or already done something similar?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您必须要求用户将他们的书签导出到文件中,然后让他们上传该文件。
You have to ask the users to export their bookmarks to a file and them have them upload that.
为此,您必须创建一个浏览器插件 /插件/扩展 并让用户安装它并授予其访问书签的权限;或类似地使用签名脚本。出于显而易见的原因,您无法在普通的旧网页中执行任何操作来为您提供此信息。
To do this, you'll have to create a browser plug-in/add-on/extension and have the user install it and give it permission to access their bookmarks; or similarly with a signed script. For obvious reasons, there's nothing you can do in a plain old web page that will give you this information.
您无法提取匿名用户的书签。
You can't pull anonymous users' bookmarks.