bret_pat
bret_pat
Explore posts from servers
PD🧩 Plasmo Developers
Created by bret_pat on 8/6/2023 in #👟framework
How to use Plasmo's globalProvider?
For tanstack query, I need to have a global provider for all of the getInlineAnchorList(). I saw that this should be possible through this github pull but I haven't been able to get it to work. Does anyone have a working example? https://github.com/PlasmoHQ/plasmo/pull/557
7 replies
PD🧩 Plasmo Developers
Created by bret_pat on 8/4/2023 in #👟framework
Putting Key in manifest causes ``Uncaught Error: Extension context invalidated.
Removing the key makes it work but my problem is that I'm trying to generate the same extension ID so that I could use Clerk locally. Any ideas on how to fix?
9 replies
PD🧩 Plasmo Developers
Created by bret_pat on 7/25/2023 in #👟framework
PlasmoGetInlineAnchorList doesn't shift host layout
I'm looking to inject elements onto the page whenever more content is loaded. The content would be a button under every post. I've exported a getInlineAnchorList function but the button is being overlayed on each post rather than inline with the existing HTML. i.e. I want the extra button to look "naturally placed" onto the content rather than just an overlay How would I fix this issue?
3 replies
PD🧩 Plasmo Developers
Created by bret_pat on 7/21/2023 in #👟framework
Content match help
I'm looking to match any urls on facebook or tiktok domains. I currently have
matches: ["https://*.tiktok.com/*", "https://*.facebook.com/*"]
matches: ["https://*.tiktok.com/*", "https://*.facebook.com/*"]
. But it doesn't work for other domain endings like facebook.eu/, I'd want to be able to match any domain ending. Any help is appreciated!
2 replies