添加到谷歌浏览器的收藏夹链接 [英] Add to favourites link for Google Chrome

查看:226
本文介绍了添加到谷歌浏览器的收藏夹链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的添加到收藏夹链接代码适用于Firefox,但不适用于Google Chrome浏览器扩展程序。我应该如何创建一个链接添加到Chrome收藏夹/书签中

。即使在Firefox中,它也无法按预期工作,因为它添加了一个侧栏(在新版本中,如果用户找到复选框,用户可以更改它)。

所以我是对不起,告诉你,你不能。我会提供一个社交书签小部件或要求用户按CTRL + D来为页面添加书签。


The "add to favorites" link code that I use, works for firefox but not for Google chrome extensions. What should i use to create a link that adds to Chrome favorites/bookmarks

解决方案

There is no way to do it in all browsers. Even in Firefox it doesn't work as expected as it adds a sidebar (on newer versions the user can change that, if he finds the checkbox).

So I am sorry to tell you that you can't. I would provide a social bookmarks widget or ask the user to press CTRL + D to bookmark a page.

这篇关于添加到谷歌浏览器的收藏夹链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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