17 questions
1
vote
1
answer
119
views
Plasmo Firefox production build: Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist
With plasmo 0.90.5, I faced this issue when trying to run my Firefox extension that I built with manifest v3. This issue happens when I try to pass a message to the content script.
Uncaught (in ...
1
vote
0
answers
74
views
How to keep Supabase session synced between Next.js app and Plasmo Chrome extension?
I'm building a Chrome extension using Plasmo and a web app using Next.js (App Router).
I'm using Supabase for authentication, and I want the auth session to stay in sync between the web app and the ...
0
votes
0
answers
83
views
Dynamically Populating Chrome Context Menu Items via Extension
I'm building a Chrome extension with the Plasmo and Supabase, where I fetch data from whenever the browser's context menu is opened, using a broadcasted contextmenu event. I aim to dynamically update ...
0
votes
1
answer
83
views
Plasmo React MUI Inject Styles
I am developing an extension with Plasmo and using MUI with REACT.
I am having a content script as following:
import { Button } from "@mui/material"
import type { PlasmoCSConfig } from "...
0
votes
0
answers
42
views
@rails/actioncable on service worker
I'm building a Chrome Extension with Plasmo. We would like to listen to a websocket event.
Our BE is rails so it would be best to use actioncable. However that is complaining about not knowing what ...
0
votes
0
answers
18
views
How to inject React CSUI in Plasmo by Chrome.scripting.executeScript? [duplicate]
all. I'm currently working on a Chrome extension with Plasmo framework. I hope to manually active the camera component by using chrome.scripting.excuteScript in popup.tsx file. When I click the button,...
0
votes
1
answer
82
views
External style library for Plasmo
I am trying to build browser extension with Plasmo, and I want to use control like react-quill, I can install the package, but it will also need to import the css for quill, in normal react project, ...
0
votes
1
answer
47
views
PlasmoCSUI setting h-full cannot fill the parent node
PlasmoCSUI h-full not working
On twitter, I want to inject my own element (button) to the end of a list (a row of horizontal buttons), and I want to keep the same button height as them, but I found ...
0
votes
1
answer
66
views
Why is the select options showing up behind my div?
CSUI (content script) showing select options behind div
The select options shows up behind the card that select field. The styles are working fine but any time I open like a dropdown thats supposed to ...
0
votes
0
answers
202
views
How can I efficiently and securely communicate between my Next JS backend and my chrome extension
I am building a website that will use chrome extension for some of its feature, I am using Next Auth and would like to authenticate from my extension whether or not the user is logged in/ has the next ...
0
votes
1
answer
114
views
React state is undefined when reading inside of an callback function
I am trying to read a react state when the callback of chrome.tabs.onUpdated.addListener is being called, but it seems the state value is undefined, even though it's set previously.
Here is the hook ...
0
votes
0
answers
51
views
Trouble while injecting generated text in the input field of Twitter using a browser extension
I'm currently developing a Twitter browser extension, and I've encountered an issue with injecting AI-generated text, obtained from an API, into Twitter's tweet input field. Although the injection ...
0
votes
0
answers
86
views
Trouble with AI-generated tweets in Twitter browser extension when emojis are present in input field
I'm currently developing a Twitter browser extension that allows users to generate tweets and replies using AI. The extension works well, but I've encountered an issue when there's already an emoji ...
0
votes
1
answer
775
views
Extension: How to resolve the errors `Uncaught Error: Extension context invalidated` and `Warning: React.jsx: type is invalid -- expected a string`?
I'm using React, Typescript, Plasmo, and MaterialUI to develop a Chrome extension.
I continued to receive the following errors even after commenting out code for the popup, background and content ...
2
votes
1
answer
164
views
Vue hints for a react based project created with plasmo
I've just installed Plasmo and generated a initial project. It's react-based but I'm getting Vue errors in WebStorm. npm run dev works without any problems, but I keep getting the red squigly lines ...
1
vote
0
answers
973
views
How do I make the Plasmo CSUI container fill the anchor's width and height?
I'm making a browser extension using Plasmo and I need to have the CSUI container fill the anchor, so I can then use CSS to easily position the contents wherever I want using absolute values that are ...
2
votes
0
answers
1k
views
Send message to content script from service worker
I am using Plasmo to create google chrome extensions.
My requirement is to invoke a function in a Content Script periodically. I tried to use setInterval() but this was not reliable. I read that using ...