书签功能作为侧边栏打开
您好,我在我的网站中实现了书签功能,但是当我单击工具栏上的书签链接时,它会在侧边栏中打开一个新窗口,而不是在 mozilla firefox 中打开一个新页面,
它在 IE 中相应地工作,可以任何人请帮助我
HI, I have implemented a Bookmark feature in my website, but when I click on the bookmark link from the toolbar, its opening as a new window in a sidebar instead as an new page in mozilla firefox,
It is working accordingly in IE, Can any one please help me in this
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
AFAIK,您无法更改脚本的行为,因为 Firefox 不会在其网站 JavaScript API 中公开创建书签的功能。 Firefox 只允许您创建一个小页面,然后可以在侧边栏中打开该页面。为此,您当前正在使用一个 API。
如果您的网站在特权环境中运行(Firefox 插件就是这种情况),则可以使用 书签管理器。
AFAIK, you cannot change the behavior of your script, because firefox doesn't expose in its JavaScript API for websites a function for creating bookmarks. Firefox only allows you to create a small page, that can be then opened in the sidebar. For that there is an API that you are currently using.
If your website was running in a privileged environment (which is the case for firefox addons), it would be possible to use the bookmarkmanager.