🧩 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

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?...

Issue with Plasmo Itero Publisher

I am trying to save the API keys for the publisher and im getting this error in the console: 13 INTERNAL: Request message serialization failure: invalid encoding its returning a 500 on https://itero.plasmo.com/api/publish/secret. Are my fields invalid? Am I doing something wrong?...

Keeping Chrome dev tools open during development.

Hey guys, I built my Chrome extension a couple of years ago without Plasmo - and one of the biggest pains in the a** during development was having to constantly re-open Chrome's dev tools every time the extension was closed or reloaded. Is this something Plasmo can help with?

Is Svelte 5 supported?

I'm trying to use svelte 5 with plasmo but keep getting the error "No supported UI library found". I created the project using the svelte 4 template (plasmo init --with-svelte) and then modified the package.json and svelte config file to use the newer svelte 5. But didn't manage to make it work. Does plasmo not support Svelte 5 yet?...

Messaging Ports support in Firefox

How can I send a message from the content script to the side panel? I see two options. 1. Use chrome.runtime.sendMessage in the content and chrome.runtime.onMessage.addListener in my sidepanel component. 2. Use ports....

Error on sending message from background script to content script

Hello everyone, I am trying to send a message from background script to content script but it's not working. Every time I am trying to do that I am getting an error => Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist. Background code => import { getPort } from "@plasmohq/messaging/port" ...
Next