AB7zz
PD🧩 Plasmo Developers
•Created by AB7zz on 9/5/2023 in #👾extension
How do I message from background to my content script?
@filthytone yo dude. Thanks a lot!! That solved my error. I thought I had put it in
but instead I did
and I ran the pnpm build and loading the dev build works perfectly fine now. I'm receiving the message on both sides. So relieved!
19 replies
PD🧩 Plasmo Developers
•Created by AB7zz on 9/5/2023 in #👾extension
How do I message from background to my content script?
@filthytone I'm trying to do as it says in the docs for ports.
I'm facing this error when using const mailPort = usePort("mail"). It says
with a red underline below "mail".
So when I Ctrl+left clicked usePort and when inside node_modules/@plasmohq/messaging/dist/hook.d.ts and checked the definition for usePort, it looks like this
Thats it? But on github it looks completely different.
Please help me solve this. I'd really appreciate it
19 replies
PD🧩 Plasmo Developers
•Created by AB7zz on 9/5/2023 in #👾extension
How do I message from background to my content script?
ive seen docs on how to send feom content to background. But Id really like it if someone helped me with background to content
19 replies
PD🧩 Plasmo Developers
•Created by Pallas on 7/5/2023 in #🦉pallas
As a browser extension developer using
This is a sample of what my code looks like.
16 replies
PD🧩 Plasmo Developers
•Created by Pallas on 7/5/2023 in #🦉pallas
As a browser extension developer using
@Joshua Perk Wow, I'm currently doing something similar. If-loops to render a specific page. I'll make sure to ping you if I find a solution
16 replies
PD🧩 Plasmo Developers
•Created by Pallas on 7/5/2023 in #🦉pallas
As a browser extension developer using
!question how do I define a context file and define some useStates and use it in a popup.tsx?
16 replies
PD🧩 Plasmo Developers
•Created by Pallas on 7/5/2023 in #🦉pallas
As a browser extension developer using
how do I define a context file and define some useStates and use it in a popup.tsx?
16 replies
PD🧩 Plasmo Developers
•Created by Pallas on 7/5/2023 in #🦉pallas
As a browser extension developer using
!question is there no navigation method in popup.tsx? like /items, /toys, etc.? So that I could use the react-router-dom package
16 replies
PD🧩 Plasmo Developers
•Created by Pallas on 7/5/2023 in #🦉pallas
As a browser extension developer using
!question is there no navigation method in popup.tsx? like /items, /toys, etc.? So that I could use the react-router-dom package
16 replies
PD🧩 Plasmo Developers
•Created by Pallas on 7/5/2023 in #🦉pallas
As a browser extension developer using
!question I want to change the display of the poopup.tsx. For example I want to render another component inside popup.tsx when user clicks a button
16 replies