Javascript react starter
Issue: "Extension runtime is not available" with PlasmoCSConfig in Content Script
I’m encountering an issue while working with a framework extension. My goal is to inject a content script on a specific website and enable communication between the content script and the background script. Here's the flow I want to achieve:
1. When the user visits
https://xyz.com/abc/*
, the content script is injected.2. The script adds a button to the page. ...
Login sync between popup and content using firebase auth
Stylesheets in Panels
Independent extension maintainer and developer looking for guidance
Is there anyway to get the plasmo dev server working in a docker container? pnpm dev works on host
No supported UI library found.
SWC not resolving
with-options
example.
When I run plasmo dev
, I get the following:...How to Dynamically Mount/Unmount Plasmo Components without Page Refresh?
What is 'plasmo-mount-container'?
#plasmo-mount-container
target, but it's not clear to me what that is. I am not seeing this id anywhere in the codebase, and I am not seeing it in the rendered component either? I understand that the #plasmo-shadow-container
is basically a secondary wrapper inside the shadowRoot, but I am not sure what the #plasmo-mount-container
is. Maybe it's just some shorthand for targeting the framework's (svelte) own top-level element / mountpoint to plasmo, but I am not sure. You don't see this in the react example here:
https://github.com/PlasmoHQ/examples/blob/main/with-content-scripts-ui/contents/plasmo-overlay.css
Instead here, the .hw-top class is targetted directly.
Any clues?...sendToBackground in MAIN world doesn't work even with extensionId provided
To send a message from a content script thats in the main world you'll have to include your extension's id in the request. Your extension's id can be found in chrome's extension manager window once you've built and added it to your browser....
Requesting microphone permissions
Pass custom props to CSUI component
Using getInlineAnchorList but having plasmocsui into a child
Custom MutationObserver
How to send messages from content to content?
Create child components for ContentScript