Initial Commit
This commit is contained in:
commit
70fbe24185
|
@ -0,0 +1,3 @@
|
|||
# Auto Fullscreen
|
||||
|
||||
This is a dumb 10 lines or less plugin to give FireFox Quantum the ability to launch in Full Screen mode. On startup it simply updates the current window to set the window state to fullscreen. For best results set a homepage and configure Firefox to launch with that homepage on startup. Please create any issues on Github or submit a pull request for fixes.
|
Binary file not shown.
After Width: | Height: | Size: 109 B |
Binary file not shown.
After Width: | Height: | Size: 126 B |
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"description": "Auto Fullscreen for Firefox Quantum",
|
||||
"manifest_version": 2,
|
||||
"name": "AutoFullscreen",
|
||||
"version": "1.0.0.1",
|
||||
"homepage_url": "https://github.com/tazeat/AutoFullscreen",
|
||||
"background":{
|
||||
"scripts": ["startup.js"]
|
||||
},
|
||||
"icons": {
|
||||
"48": "icons/fullscreen_black_48x48.png",
|
||||
"96": "icons/fullscreen_black_96x96.png"
|
||||
},
|
||||
"applications": {
|
||||
"gecko": {
|
||||
"strict_min_version": "48.0"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
function onError(error) {
|
||||
console.log(`Error: ${error}`);
|
||||
}
|
||||
|
||||
console.log(`AutoFullscreen Running`);
|
||||
browser.windows.getCurrent().then((currentWindow) => {
|
||||
browser.windows.update(currentWindow.id, {state: "fullscreen"});
|
||||
});
|
Loading…
Reference in New Issue