AddFavorite JS doesn't work with chrome

拥有回忆 提交于 2019-12-07 04:51:33

问题


I'm developing a website with bookmark function , I'm using this function window.external.AddFavorite(location.href,document.title);for chrome and IE it works fine in IE but for chrome it dose not ,,,, can anyone please direct me ... thank you in advance


回答1:


http://help.dottoro.com/ljspwejw.php

Opera, Google Chrome and Safari do not provide a way to add new elements to the Favorites (Bookmarks) from JavaScript.

There is currently no way to programmatically add a bookmark in Chrome, or any other modern browser, of course, except IE.



来源:https://stackoverflow.com/questions/22085812/addfavorite-js-doesnt-work-with-chrome

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