Programmatically Bookmark Link with Javascript Cross-Browser

China☆狼群 提交于 2019-12-10 13:30:07

问题


Is there a script out there that solves this problem? I would like to be able to say "onclick, save as bookmark". I have searched around a bit and found this one, but it doesn't work with Safari.

Anyone have a solution for Safari?


回答1:


I'm afraid that you simply can't do this in every browser. Besides, if a user want's to bookmark your page he has the tools built into his browser ...



来源:https://stackoverflow.com/questions/1896427/programmatically-bookmark-link-with-javascript-cross-browser

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