🧩 Plasmo Developers

PD

🧩 Plasmo Developers

Join the community to ask questions about 🧩 Plasmo Developers and get answers from other members.

Join

👾extension

👟framework

🔰newbie

🦉pallas

Itero Upgrade Broken

I'm trying to upgrade to the Professional Plan. I am unable to complete checkout due to the error in my screenshot. I tried with two different CCs, and confirmed the addresses 100%. Also the error message is talking about postal codes, however my billing address I set as United States, and provided a zip code. My account is christopher@expopulus.com
No description

Issues with custom object injection to the `window` object

I'm facing an issue in dev mode, which is kind of pain in the neck as I'm developing a crypto-wallet, that I want to be able to connect with the Dapp (decentalized application). So in order to do it I need an RPC-like communication between my extension and the app, which was adviced to me to use the 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:...

pnpm catalog: feature doesn't work with plasmo

Using pnpm catalog: feature to specify react version seems to throw Uncaught ReferenceError: React is not defined error. I have to explicitly specify the react version in the package.json, why? is it a bug of plasmo?
No description

Handling .gitignore with Plasmo framework

Working with plasmo involves running build to create a lot of static assets, is there a general guideline for how I should handle all of those file generation? Which to ignore? Which to package up for zip and deployment to chrome webstore?

Dot plasmo folder

Hi guys, I'm new to development with plasmo, and my first question is, do we have to add the .plasmo folder into .gitignore ?

chrome extension called DatingAssistant (author: KOJΛK)

Hi everyone, I recently came across a Chrome extension called DatingAssistant (author: KOJΛK). It looks really well-made and exactly what I need. From what I could see in the manifest and code, it uses Plasmo framework and even connects to a Supabase backend for license verification. I’m not a developer, but I tried to dig through the code to find some contact info, a website, or anything about how to purchase a license/key — unfortunately, I couldn’t find any direct link, domain, or official sales page. Does anyone here know the author (KOJΛK) or how I could get in touch with them? I’d really like to buy a license and use this extension legally. Any hint, pointer, or contact would be greatly appreciated! Thank you 🙏...
No description

Contents folder did not work

The contnet script I use has a relay and a injected(main world) file. When I put them as content.ts in root of src/ , they works fine, while they are contents/inject.ts and content/relay.ts, they both are not loaded anymore. Also, does the background scripts also require additonal opration to be functional? I read the manual and connot find more help.
No description

Error: Promised response from onMessage listener went out of scope

I'm using fetching from OpenAI API. if response takes more than, let say 3 seconds. I get this error. I think something to do with timeout of connection. What should I do? ``` import type { PlasmoMessaging } from "@plasmohq/messaging"; ...

Can I publish and monitor my extension's on Browsers using the Hobby Plan only ?

So basically I want to understand these things better before migrating my extension to Plasmo : - In starter pack, it's mentioned that we will be having Extension Installer, what do you mean by that ? - Can I publish my plasmo extensions on any browser's without any additional cost on a Hobby plan ?...

best way to access the global window

I tried two ways but failed ```export const getLeetCodeCodeAndLanguage = (): Promise<LeetCodeEditorData> => { return new Promise((resolve) => { const MESSAGE_TYPE = "LEETCODE_MONACO_GET" ...

How to center popup to the top-tight of the screen?

How can I center the parent container to the top-right of the screen instead of centering with the button anchor?

Unable to split background.ts to separate files

I am unable to split my background.ts file to separate files. I want it to be cleaner, but it seems that something in my implementation is causing service worker crashes. How can I fix it, and what are recommended practices?

How do I get the data from IndexedDB of my extension?

In extension popup, I've written some data using IndexedDB and I want to access to it when somebody visits a URL. Since the context of extension popup and a webpage is different, I can't access the data of the extension from a webpage. Apparently, there's messaging to send messages between these isolated environments: https://docs.plasmo.com/framework/messaging I've checked it a little bit but I'm a little bit confused. I guess I have to write a backgorund service worker, set up a Message Flow endpoint and access to the data in IDB with it inside a website. Am I correct?...

Firebase login issues

Hey folks, I followed the docs on creating a Plasmo extension with Firebase and Oauth, and while I managed to get it working on Chrome, it seems like on Brave things work differently. I tried to tweak my browser settings (enable all cookies, enable trackets etc etc) but the google login keep getting blocked (see screenshot attached) ...
No description

How can I get the root and overlay inside the document.body instead of adjacent to document.body

As the title says, I need the overlay and shadow root inside document.body?

Is it possible to make content scripts clickable?

I have a content script for X posts. I want to make this Tag i inject clickable so that it opens my chrome extension prompting me to confirm the Tip to the user
No description

Itero support?

Hi, does anyone know who I can reach about Itero account support? I am moving on from my company and I need to transfer ownership.

First dev command results in an error

I just wanted to make myself a small demo of Plasmo, but I got this error when trying to run the command. Can it be because of some specific version requirements?...
No description

Plasmo dev build fails with malloc error

I just created a new plasmo project with npm create plasmo -- --with-nextjs15, but when running npm run dev, the build keeps failing with ``` 🔄 Building...node(33793,0x17528b000) malloc: Incorrect checksum for freed object 0x14bca6e00: probably modified after being freed. Corrupt value: 0x5f300000000 node(33793,0x175aa3000) malloc: Incorrect checksum for freed object 0x12a152800: probably modified after being freed....

useEffect on SidePanel cause segmentation error

Hello! Everytime I attempt to use a useEffect on a side panel react component, I get a segmentation error. Has anybody else come across this issue?...
Next