🧩 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

Command Failed with signal "SIGABRT"

why am i getting this, after i run
yarn dev
yarn dev
after
yarn create plasmo
yarn create plasmo
No description

Any thing I should know about before fully commiting to plasmo

Greetings I am considering using plasmo for extension development anything I should know before I make the full commitment to using it? any caveats, can I integrate firebase and shopify apis can I reach my server, are there any 3 week + waits to be approved for compliance related stuff. Is it easy to setup. Does support here respond quick?

Adding alias

To introduce a "types" library that is shared between the back end front (extension), I created root/types-lib/ which contains ``` src/types-matchmaking.ts tsconfig.json...

Common authentication for Plasmo and next app using firebase.

I have been using firebase authentication for my existing next app in where I store my token and use details in cookies. Now I have been developing a chrome extension with Plasmo. What I want to achieve is if the user is already logged in in the next app, then that user should be logged in with Plasmo extension when it loads. If user is not logged in with the next app and user opens the extension then they should be redirected to the next app for login, and once the login is completed on the nex...

How do I install multiple examples e.g. -- --with-sidepanel --with-storage with-supabase

Is it possible to do pnpm create plasmo --with-sidepanel --with-storage with-supabase ? It only takes the first or last one I think

CSUI not rendered in production build

I opened an issue on github. Even a very simple code does not work https://github.com/PlasmoHQ/plasmo/issues/1070...

useState is not working

I am working on a Chrome extension that simply store some user input the storage and autofill them when needed. Right now, I am stuck at the loading state. I want to render loading state when the user clicks on the "Save Citation" button. However, the setIsSaving is not triggered. Please reference the console.log for that. How can I solve the issue?...
No description

Trouble with examples/with-mui

Hi, new to the framework and just copied the popup.tsx and content.tsx files from the examples/with-mui project into a completely clean new project (after running pnpm create plasmo and installing necessary deps), but am encountering this error:
No description

Typescript support

Hello there. I created a new Plasmo project. pnpm create plasmo example-dir I opened popup.tsx and added the simple line let a: number = "just a string";...

getOverlayAnchor running infinitely

Hello team, I am trying to use getOverlayAnchor to overlay my UI on a particular site. Here's the code: ```...

Calling api with cookies in popup and plasmo-overlay

using content script i was able to store cookies using storage api, and show popup as per the storageApi, but when calling api i am not able to send with cookies in the headers...
No description

Supabase + Chrome storage question

Hi all, new to Plasmo and discord 😄 Just curious, I've been using the supabase starter and am curious: When creating the supabase client, is it storing the auth tokens (refresh and session) within chrome.storage and NOT local or session storage by default? If that's true, does that make it secure from xss in a way it might not if stored in local storage directly?...

How to submit through Github Actions?

I'm using the official Github Action and building my extension with plasmo build --zip. Here is my workflow file: ``` name: CI / Publish extension...
No description

Sending messages from webpage to extension

I'm building a niche extension that should work in tandem with my nextjs web app. I already have a content script working with Plasmo so I maybe could injects some buttons into the page, but since I have control of the web app also it seems better to be able to build my own buttons there but have them only display if the extension is installed and when clicked, send a message to the background worker. I've tried using the plasmo/messaging package from the web app (doesn't seem to work) and I've tried the chrome.runtime.sendMessage API, but with inconsisent results. Is this becuase plasmo's dev server is not loading properly or am I doing something else wrong?...

content.tsx getting rerendered on url change

Hey here i have question, i ma using plasmo very first time, I have just clonned with-tailwind-css template from examples i have content.tsx and suppose on url/* i have rendered something... not url changes url/abc now content.tsx is re running, all state of my component is gone, how to stop this? and 2nd question is what the best way to observe whether page is propley loaded or not , or url change? I have thisn structure : SS attached...
No description

Display custom UI per element in an inlineachorlist

I am trying to create an extension for a website, The website has these table rows, I managed to show a ui using the getInlineAchorList function but I want to show custom data per row. Is there a way to do this? I attached a diagram of what I am trying to do. Thanks!
No description

How to communicate betweeen background and MAIN content script?

Hello! My design is like this: 1. In option page, set value. 2. In a specific websites, show its value (just simplified yeah) ...

Issue with blog content

I'm trying to follow this article of using firebase with react and plasmo but most of the images are not available: https://www.plasmo.com/blog/posts/firebase-chrome-extension...

Overwrite existing CSS/Styling on page

Hi, how can I overwrite existing CSS on a webpage?

Scrapping data from website

Hi guys, i'm new with browser extension, so i want to make an extention for my website only and there have scenario that extension may store user input for automate, i wonder in plasmo how can i send data from my website to extension, thank everyone