MarkusT
MarkusT
PD🧩 Plasmo Developers
Created by MarkusT on 10/23/2023 in #👟framework
Messaging between two content scripts
Hi! How would I go on to send a message from one content script to another using Plasmo? The basic chrome.runtime doesn't work and the Plasmo messaging functionality seems to be working backend <-> CS but not between CS. E.g if I use sendToContentScript, I get a 'Error: Extension tabs API is not available' during runtime.
7 replies
PD🧩 Plasmo Developers
Created by MarkusT on 10/20/2023 in #👟framework
Import a custom package styling (React-hot-toast)
Hi. I am trying to utilize the react-hot-toast package in my Plasmo content script. When importing into my React component, the basic functionality of the package works fine but all the design is gone. Is there a similar cache option for this (like MUI components have) or is there a way around it to get the package styling into CSUI? Thanks in advance!
4 replies