AddFavorite JS不适用于Chrome [英] AddFavorite JS doesn't work with chrome

查看:377
本文介绍了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.

这篇关于AddFavorite JS不适用于Chrome的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆