Are there extension "open as popup" on Firefox like Chrome?
Like these :
https://chrome.google.com/webstore/deta ... dkhlcaeopd
https://chrome.google.com/webstore/deta ... ikpmghbcpc
Open as popup extension ?
-
- Posts: 6432
- Joined: February 3rd, 2009, 6:29 pm
Re: Open as popup extension ?
It may be possible to convert these simple extensions in Firefox 45.
WebExtensions in Firefox 45
http://blog.mozilla.org/addons/2015/12/ ... efox-45-2/
* background.js file from the Open as Popup extension
http://developer.mozilla.org/en-US/Add- ... wserAction
http://developer.mozilla.org/en-US/Add- ... PI/windows
These APIs will be available in Firefox 45.
WebExtensions in Firefox 45
http://blog.mozilla.org/addons/2015/12/ ... efox-45-2/
* background.js file from the Open as Popup extension
Code: Select all
chrome.browserAction.onClicked.addListener(function (tab) {
chrome.windows.create({
tabId: tab.id,
type: "popup",
});
});
http://developer.mozilla.org/en-US/Add- ... PI/windows
These APIs will be available in Firefox 45.
-
- Posts: 1168
- Joined: September 16th, 2007, 8:01 am
Re: Open as popup extension ?
Yes see this very related topic here - these guys came up with a simple helper function - https://discourse.mozilla-community.org ... h-sdk/7085
-
- Posts: 6432
- Joined: February 3rd, 2009, 6:29 pm
Re: Open as popup extension ?
I got the Open as Popup extension to install in Firefox 45.
I had to edit the manifest.json file and delete the _metadata\verified_contents.json file.
Download Chrome Extensions
http://chrome.google.com/webstore/detai ... diffmgedin
Porting Chrome Extensions to Firefox with WebExtensions
http://hacks.mozilla.org/2015/10/portin ... xtensions/
Unfortunately, the api is still unsupported in Firefox 45.
I had to edit the manifest.json file and delete the _metadata\verified_contents.json file.
Code: Select all
- "update_url": "https://clients2.google.com/service/update2/crx",
+ "applications": {
+ "gecko": {
+ "id": "abracadabra@example.org"
+ }
+ },
http://chrome.google.com/webstore/detai ... diffmgedin
Porting Chrome Extensions to Firefox with WebExtensions
http://hacks.mozilla.org/2015/10/portin ... xtensions/
Unfortunately, the api is still unsupported in Firefox 45.
Type error for parameter createData (Property "type" is unsupported by Firefox) for windows.create.
-
- Posts: 200
- Joined: August 30th, 2013, 3:50 pm
Re: Open as popup extension ?
You could try detaching the tab (drag it down) then press F9 after install this extension:
https://addons.mozilla.org/en-US/firefo ... ocus-mode/
https://addons.mozilla.org/en-US/firefo ... ocus-mode/
-
- Posts: 4
- Joined: February 11th, 2016, 9:15 am
Re: Open as popup extension ?
that addon hide the title bar so I cannot move the window.You could try detaching the tab (drag it down) then press F9 after install this extension:
https://addons.mozilla.org/en-US/firefo ... ocus-mode/
Firefox 46 still unsupport this extensionPorting Chrome Extensions to Firefox with WebExtensions
http://hacks.mozilla.org/2015/10/portin ... xtensions/
Unfortunately, the api is still unsupported in Firefox 45.