Comments (2)
Currently not (without editing the source code and specifying arguments there). However, I could add a way to provide arguments, maybe using some environment variable and/or additional arguments to the site launch
command.
from pwasforfirefox.
You will be able to provide Firefox arguments in 1.0.0 which will be released soon. There will be a few ways to do this:
- To specify arguments when launching a specific PWA from the command line:
firefoxpwa site launch ID --normal-arguments -- --firefox-arguments
- To specify arguments when launching a specific PWA from start/app menu shortcut: Edit the shortcut (details depend on your OS) to provide arguments in the same way as above.
- For all PWAs: Edit FirefoxPWA config file (
%APPDATA%\FirefoxPWA\config.json
(Windows)/$XDG_DATA_HOME/firefoxpwa/config.json
(Linux)/$HOME/Library/Application Support/firefoxpwa/config.json
(macOS)) and includearguments
as JSON list of arguments. For example:
{
"sites": {...},
"profiles": {...},
"arguments": ["--jsconsole", "--allow-downgrade"]
}
Arguments specified when launching from command line will overwrite config arguments.
from pwasforfirefox.
Related Issues (20)
- Installing on SteamOS (Arch-like Linux distro) HOT 2
- Ctrl+W closes the PWA HOT 7
- A new widget to manage the current web app from the app browser HOT 1
- Ability to allow web apps to overwrite built-in keyboard shortcuts
- the apps are not opened upon installation HOT 2
- Feature request: Support for opening links in PWA not in the PWA-specific profile HOT 5
- Linux aarch64 Support for Runtime installer? HOT 2
- Error: "can't access property "href", e is null" HOT 2
- Allow user to edit the name of the PWA when installing HOT 5
- Changing the default links target option HOT 4
- Winget option not working properly. HOT 7
- Fix launching without `JOB_OBJECT_LIMIT_BREAKAWAY_OK` permission HOT 8
- How do I use these environment variables? HOT 1
- Add an option to open app to previous state HOT 2
- Closing Firefox causes PWA to crash HOT 7
- All PWA windows open as a Blank window HOT 7
- Failed to uninstall firefoxpwa runtime HOT 2
- CORS whitelist option HOT 2
- Corners are not rounded, inner site overlaps. HOT 4
- Scrolling at lower FPS on 120hz Screen. macOS Sonoma. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwasforfirefox.