Issue with object incjection to global window object
content.ts
as the solution, because And now by folllowing the instructions in the docs https://docs.plasmo.com/framework/content-scripts. When I type in the window.hackerWallet
then it returns undefined.
For some more details of the env and what I did to solve it:...Include source maps when using --zip
--source-maps
flag doesn't work with --zip
. I am new to the project, so I started by opening a PR that should fix it:
https://github.com/PlasmoHQ/plasmo/pull/1318
Do I need to post that somewhere so someone can take a look at it? We built an internal extension, and source maps would be nice in our production bundle to troubleshoot issues on the fly 🙂...Change daisyui theme
Toggle content.tsx visiblity with the pinned extension icon

ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @plasmohq/parcel-core@0.1.11
Failed to dynamically inject content script using activeTab
activeTab
permissions through my background script.
When I am referring the file like this import contentFile from "url:./lib/content.tsx"
and executing it like this
``` ...
Wondering about static analysis on content script output and AST usage in Plasmo
plasmo dev --target=firefox-mv3 tryies to connect to "wss" instead of "ws" and errors out
wss://localhost:1815
and then wss://localhost:1816
, fails both, then tries http://localhost:1815, and fails again
Big problem here is, on firefox, it then reloads the exension, some memory leaks seem to happen, then it all begins again.
Whereas, the second image is what it looks like, correctly, for firefox-mv2....
Override default newtab url
Connecting to Metamask (or any wallet extension) in my content script UI
Debugging plasmo source code
Error while setting plasmo on a fedora desktop.
Blacklisting
Bug in the with-messaging example
Google Analytics Issue (URL import)
import "https://www.googletagmanager.com/gtag/js?id=G-.....
in the dev build it works fine and I see requests to /collects and in the analytics dashboard I see the data, but in the production build it's not working and not able to import the gtag
Uncaught (in promise) Error: Cannot find module 'iKwBb
Uncaught TypeError: Cannot read properties of undefined (reading 'register')
...
Pass data from Content.ts to Options Page via Storage API
content.ts
to the options page using Storage API. Data is being set but returns undefined when accessed.
Current Behavior
- Data is collected from website in content.ts
- Attempting to store data using Chrome Storage API...
Hi there,
Fresh install with errors
