|
|
|
|
|
by hnthrowawaybed
1020 days ago
|
|
For extension experts, when should developers use a framework like this versus these options: * Attaching to page DOM with custom HTML/CSS/JavaScript * Shadow DOM * Iframe Shadow DOMs seem like a good hybrid between iframes and attaching to the page DOM. |
|
Idea is, depending on what kind of extension you're building you can use content scripts to render you extension in shadow dom or iframe. Bedframe lets you do this.
The CLI is a project generator for: - popup (default kind of extension) - side panel (relatively new in Chrome / https://developer.chrome.com/docs/extensions/reference/sideP...) - overlay (what you describe above) - devtools extensions (https://developer.chrome.com/docs/extensions/mv3/devtools/#d...).
Bedframe goes further and lets you add a mvp.yml workflow to your (Github) repo and have any versioned changes landing in 'main' branch get published to firefox, edge, chrome web stores
Basically productionizes the extension dev process.