šŸ§© 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

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

Scrape many pages with plasmo

Hello, iā€™m new to the framework and I feel a little bit overwhelmed. So I decided to ask the Plasmo people directly. So my need is to scrape a few pages as the browser owner, extract a JSON and provide it as a download. Since the website is blocked by authentication shenanigans and that my use case rely on authenticated users to extract the data iā€™ve opted to run a web extension. Iā€™ve been able to use the PlasmoCSConfig and PlasmoGetInlineAnchor to add a button on the website. Thatā€™s great. Iā€™ve also been able to change the current url, upon click event. Iā€™ve also read and explored a little bit around WORLD script injection....

Mount UI content script on extension click

I feel incredibly silly not being able to work this out without weird workarounds, but what is the "native" way to inject ui into the main world / page you are seeing in Plasmo? I'm new to the chrome extension game, and i could get a background script to inject ui on click, but i cant seem to figure out how to inject the ui on extension click with using the whole mount react component thing with anchors etc. Any resources beyond just the docs.plasmo on how to mount the components?...

Javascript react starter

I want to use Plasmo with javascript react and not typescript is there any way i can do that without ts, because all of my tech stack is js based and i do not want to write ts in extension. Is there any way i can setup plasmo with js only

Issue: "Extension runtime is not available" with PlasmoCSConfig in Content Script

Hi everyone,
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

Can you please explain how I can manage to sync the state of login between popup.tsx and content.tsx using firebase auth? I am working with the framework --with-firebase-auth , and the login there works, however I would like to inject button in the main world (using content.tsx), and onclick save data to firestore, and I need to be authenticated from in the content.tsx. From some reason the popup and content does not share the state of auth....

SOC 2 Compliance for Itero TestBed

Just wondering if it is SOC 2-compliant

Stylesheets in Panels

I have this issue where the bundler isn't including a stylesheet I need into the HEAD if it is a panel. Others have the same issue so I know it's not just me. https://github.com/PlasmoHQ/plasmo/issues/1135 As a workaround, I hardcoded in the link to the jsdelivr in my HTML, but I was wondering if there is a way to load the stylesheet inline or whatnot with React (sorry, I'm not very good at all the rules around CSS), because my jsdelivr link needs a version as a part of it to align with the table and I'd rather be pulling it from my build info rather than forgetting to update it and getting a weird subtle break. ...

Independent extension maintainer and developer looking for guidance

I currently independently develop and maintain my commercial browser extension, and came across this project. I use react tailwind in my extension, and I use typescript with this bun based transpiler. I was wondering if I should make the switch to plasma and what the pricing would look like? I was a little confused on the pricing on the website.

Is there anyway to get the plasmo dev server working in a docker container? pnpm dev works on host

The server is all up and running using node:18-bullseye. However when i load unpacked into chrome it says that it cannot connect with the websockets running on ws://localhost:1815 and ws://localhost:1816. ``` function A(e) { if (typeof globalThis.WebSocket > "u") return;...

No supported UI library found.

``` pnpx plasmo init --with-svelte example cd example pnpm up -L '*' pnpm run dev...

SWC not resolving

Realized I should have probably put this here. I had been using CRXjs, but recent chrome updates have made that extension framework unusable. Working on learning plasmo so I can convert my project to it. Trying to setup a basic options page example following the with-options example. When I run plasmo dev, I get the following:...
Next