Mael
PD🧩 Plasmo Developers
•Created by Mael on 6/15/2023 in #👾extension
Injecting CSUI inside iframes?
The solution was to set all_frames: true on the CSUI config object lol
3 replies
PD🧩 Plasmo Developers
•Created by alank on 5/9/2023 in #👟framework
Not seeing background hits with use of relay
Yep. But it's because my use case is tricky ig: I have a whole different web app in a different repo and I wanna communicate with the extension to share the auth info. I ended up adding the url to "externally_connectable" inside the manifest and communicating with the extension via chrome.runtime.sendMessage. It works.
19 replies
PD🧩 Plasmo Developers
•Created by alank on 5/9/2023 in #👟framework
Not seeing background hits with use of relay
I ended up switching to runtime.sendMessage with runtime.onExternalMessage
19 replies
PD🧩 Plasmo Developers
•Created by alank on 5/9/2023 in #👟framework
Not seeing background hits with use of relay
Hey! I just bumped into your thread and was wondering how you got this working, so basically you:
1. Injected the "tryFunc" into the main world
2. Created a background message handler
3. Created a new content script that receives the relay message and sends down the message to the background script?
4. Sent the same message from tabs?
I'm having the same issue but from a different webapp trying to send a relay message to my CSUI script and down to the BGSW but I can't get it to work
19 replies
PD🧩 Plasmo Developers
•Created by Mael on 5/9/2023 in #👟framework
Using @plasmohq/messaging separately?
14 replies
PD🧩 Plasmo Developers
•Created by Mael on 5/9/2023 in #👟framework
Using @plasmohq/messaging separately?
Thanks!
14 replies
PD🧩 Plasmo Developers
•Created by Mael on 5/9/2023 in #👟framework
Using @plasmohq/messaging separately?
Great
14 replies
PD🧩 Plasmo Developers
•Created by Mael on 5/9/2023 in #👟framework
Using @plasmohq/messaging separately?
The "externally_connectable" manifest property declares which extensions and web pages can connect to your extension via runtime.connect and runtime.sendMessage.so relays do not use sendMessage?
14 replies
PD🧩 Plasmo Developers
•Created by Mael on 5/9/2023 in #👟framework
Using @plasmohq/messaging separately?
@louis do I need to modify the "externally_connectable" part of the manifest for the relays to work?
14 replies
PD🧩 Plasmo Developers
•Created by Mael on 5/9/2023 in #👟framework
Using @plasmohq/messaging separately?
You're the goat.
14 replies
PD🧩 Plasmo Developers
•Created by Mael on 4/27/2023 in #👾extension
How to get reference to overlay anchor
That's really helpful
34 replies
PD🧩 Plasmo Developers
•Created by Mael on 4/27/2023 in #👾extension
How to get reference to overlay anchor
I want to render the overlay only on the element that has focus at the moment and it's a textarea/div[contenteditable]
34 replies
PD🧩 Plasmo Developers
•Created by Mael on 4/27/2023 in #👾extension
How to get reference to overlay anchor
I still want a shadow DOM tho
34 replies
PD🧩 Plasmo Developers
•Created by Mael on 4/27/2023 in #👾extension
How to get reference to overlay anchor
Thanks for your help btw
34 replies
PD🧩 Plasmo Developers
•Created by Mael on 4/27/2023 in #👾extension
How to get reference to overlay anchor
34 replies
PD🧩 Plasmo Developers
•Created by Mael on 4/27/2023 in #👾extension
How to get reference to overlay anchor
Yep. Commented it out
34 replies
PD🧩 Plasmo Developers
•Created by Mael on 4/27/2023 in #👾extension
How to get reference to overlay anchor
Maybe I'm dumb but I can't get my head around this lol. I'm trying to set the current anchor to the currently focused element with some checks and the getOverlayAnchor function does not update as often as I like so I wanna create my own observer
34 replies
PD🧩 Plasmo Developers
•Created by Mael on 4/27/2023 in #👾extension
How to get reference to overlay anchor
hEY, sorry to bother you again, but the docs do not specify how to customize the mutation osberer in the renderer fuction, any insights?
34 replies
PD🧩 Plasmo Developers
•Created by Mael on 4/27/2023 in #👾extension
How to get reference to overlay anchor
you're the best!
34 replies