PD
🧩 Plasmo DevelopersDevesh
How to send some data from background.ts to content.ts file
I am trying to send a string from background.ts file to content.ts file. But I cannot find any documentation for that. I even tried with relay message but I am unable to get anything. Can anyone please help
drmikecrowe•85d ago
You have to start at the content.ts and open a continuous connection with the background. See https://docs.plasmo.com/framework/messaging#ports
Plasmo Docs
Messaging API – Plasmo
The Plasmo messaging API is a powerful tool for sending real-time messages between different parts of your extension.
2.1KMembers
View on DiscordWant results from more Discord servers?
More PostsIs there a way to create a project with multiple configurationsplasmo create --with-tailwindcss --with-nextjs --with-supabase
only creates a project with tailwindUncaught ReferenceError: Cannot access 'fromCurrentPageConfig' before initializationHi everyone! I've been building a Plasmo extension, and my dev build suddenly started breaking. The How can i show an welcome page when users install my extension?I attempted to implement the example found at PlasmoHQ's GitHub repository (https://github.com/PlasmMessaging best practicesDo you recommend using Plasmo Messaging API instead of Chrome Messaging API ?
Is a combination of bproblem in staging and production modesHello everyone, I'm working on an extension and encountering an issue when building the extension inhow to change inlineInsertPosition?There is no example in docs, and this feature was added on Nov 9, 2023. Please help