🧩 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

Remote code execution inside a content script

Hello, I've been banging my head on this one for a while. I'm trying to implement FullStory support in a CSUI based extension, but the content policy for MV3 is giving me a lot of headaches. Following the official documentation (https://help.fullstory.com/hc/en-us/articles/360020622854-Can-I-use-Content-Security-Policy-CSP-with-FullStory-) isn't working well because their configurations and CSP include unsafe rules under MV3, causing the extension to be unable to load in a browser (And well, obviously not adding the CSP rules just causes any usage of the script to fail as it can't get through CSP)...

🔴 ERROR | import() is not allowed in service workers.

I'm trying to import Supabase in a service worker to push save some images but I got this error in the console and I have no idea what I'm doing wrong. Any idea? Here is my background.tsx code: ```jsx...

AWS Amplify Auth in Extension

It's mostly understanding the authorization flow. I am trying to use a Google Social Auth flow to sign in my user but I'm not familiar with Auth sessions and tokens. ref: https://discord.com/channels/946290204443025438/1070188420225323038/1070188993603444757...

Detect browser icon click in content.ts

Is this currently possible, or do I need to detect this in the background script and send a message to notify the content script?

How to use AudioContext

Hey hopefully this is the right place to add this. My Company is moving over our chrome extension, which was built with just raw javascript, to using Plasmo. In our ext we are using the AudioContext from the WebAudio API. I was wondering how I can get access to this in the background.ts file? It keeps showing undefined not sure if I need to import something into the file? thanks How I'm calling it:...