pageAction没有显示在浏览器弹出窗口中 [英] pageAction doesn't show in a browser popup window

查看:135
本文介绍了pageAction没有显示在浏览器弹出窗口中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不是在谈论pageACtion的popup.html,而是"popup"类型的浏览器窗口.

I'm not talking about the pageACtion's popup.html, but a browser window of type "popup".

我有一个扩展程序,该扩展程序显示某个URL上的pageAction(照常).但是,如果该网址在弹出窗口中,则pageAction的按钮不会显示.

I have an extension that shows a pageAction on a certain url (as usual). But the pageAction's button doesn't show if the url is in a popup window.

在chrome扩展的文档中找不到与之相关的任何内容.是这样吗,在弹出式窗口中不起作用,还是发生在我身上,例如因为我使用的是Ubuntu 13?

Couldn't find anything about it in chrome extension's documentation. Is it so, doesn't work in a popup typed window, or is it happening to me, because I'm using Ubuntu 13, for example?

推荐答案

感谢@apsillers的贡献,我认为Chrome的弹出窗口界面在设计上不支持浏览器操作或页面操作.

Thanks to @apsillers contribute, I conclude Chrome's popup window interface doesn't support browser actions nor page actions, by design.

在弹出窗口上显示chrome.pageAction.show不起作用,也不会引发任何错误.

chrome.pageAction.show on a popup window doesn't work, neither throws any error.

我认为弹出窗口中的位置栏不是多功能框.

I think the location bar in a popup window isn't an omnibox.

这篇关于pageAction没有显示在浏览器弹出窗口中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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