AddFavorite JS不适用于Chrome

问题描述:

我正在开发一个具有书签功能的网站,我在Chrome和IE中使用此功能window.external.AddFavorite(location.href,document.title);,它在IE中可以正常工作,但对于chrome,它不起作用,,,,有人可以指导我...谢谢提前给您

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

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

Opera,Google Chrome和Safari无法提供从JavaScript向收藏夹"(书签)添加新元素的方法.

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

除IE之外,目前无法在Chrome或任何其他现代浏览器中以编程方式添加书签.

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