🧩 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

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

cloning a plasmo repo and running it on a different device

Hello! really stupid question but how do i go about cloning my plasmo project onto a diff device? i cloned it on my desktop, which is setup with node and everything, but i can't just npm i and go. is there some sort of npx command or something i need to run before hand? i tried running npx plasmo init but that didn't seem to work (same result as npm i) so I'm not sure what the reproduction steps are...

Unable to compile new background files

I created a new directory called auth with a ts file called login.ts. login content: ```typescript import type { PlasmoMessaging } from "@plasmohq/messaging";...
No description

500 error on the itero platform

I'm trying to publish through itero platform but when I attempt to add a key there is a 500 error. UI is misleading as well because it says it was saved. Anyone else experiencing this issue?...
No description

Build failing: Cannot resolve/load gen-assets/iconXX.plasmo.png

Okay, here's a draft message you can adapt and post to the Plasmo Discord server. It summarizes the issue and the steps you've already taken: Subject: plasmo dev failing to resolve icons despite package.json configuration ---...

Google authentication in plasmo using supabase

Has anyone tried to add Google auth in a plasmo chrome extension using supabase ?? If so I need some help....

tailwindv4 integration with Plasmo

I just start using plasmo, when i try to plugin tailwind v4 so things are not seems to be working. is there anyone help me on this?

Plasmo with appwrite

Has anyone used appwrite database in plasmo? I tried to do it and it says unsupported platform. .can anybody guide?

Can i use plasmo to create a chrome extension that i want private distrubtion?

I want to create a chrome extension only for my company, only people with the company domain can install it. is this something i can do on plasmo?

Best way to send a message from popup to content and get a response in Plasmo?

Hi everyone, I'm working on a Plasmo extension and trying to send a message from the popup to the content script and receive a response back in the popup. I read that one approach is to use storage as an intermediary—where the content script updates the storage and the popup listens for changes. However, since storage has limitations, I'd like to explore other options. Would chrome.runtime.sendMessage or chrome.tabs.sendMessage be a better approach for direct communication? Or is there another recommended method in Plasmo for handling this?...

Get data from tab

I discover plasmo and extension dev, i wanted to know how to get a button and click it, get a specific text and write something in input field. I tried this for get button : ```ts import React from 'react'; ...

vue style

when use vue with the plasmo, make the vue component that use <style lang="less" scoped>, the style not work!

CRX key for Prod

I have developed my extension. and I want to publish it to the chrome web store. at the development stage I used the crx key to test the redirect options page with the supabase. do I have to remove it first from the .env and package.json and then run the pnpm build?. please help. ```.env CRX_ID=xxxxxx CRX_KEY=xxxxxxxxxx...

Redux DevTools

Not working... Here is my configuration:...
No description

How can I work with websites that have JavaScript disabled?

Hello everyone! I'm creating an extension for the first time, and my translator app works with content selection. However, it sometimes works and sometimes doesn't with website content. How can I fix this? Is it possible to request permission or use another approach?

Append content ui to an existing element on the page

I have a react component I will like to append to an element on the page, but I am unable to figure how to get it done using Plasmo. for example, below is how I do it in a vite project. I'll appreciate if someone can point me to a guide or example project `<imports here> const EXTRASCAN_ROOT_ID = "extrascan-root";...
Next