Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AddFavorite JS doesn't work with 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

like image 368
Jacob Avatar asked Feb 28 '14 03:02

Jacob


1 Answers

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.

like image 140
Derek 朕會功夫 Avatar answered Sep 23 '22 01:09

Derek 朕會功夫