I propose to extend chrome.action API to allow displaying popup in the middle of the browser screen, instead of the top right corner.
Popular extensions, such as
Omni, inject a content script on every single website only to display a popover in the middle of the screen. This is bad for several reasons:
excessive permissions, doesn't work at all on the new tab page (and the rest of chrome:// pages), the popover code can break the website, and the website code can break the popover.
I propose a small addition to the existing API:
{
"action": {
"default_popup": "popup.html",
"default_position": "center" }
}
chrome.action.setPopup({
popup: "popup.html",
position: chrome.action.Position.CENTER})
This would center the popover in the middle both vertically and horizontally. This would allow reimplementing extensions such as Omni in a more sensible way.