سؤال

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 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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top