GabrielDSFS
Explore posts from serversPD🧩 Plasmo Developers
•Created by GabrielDSFS on 6/21/2023 in #👟framework
How to keep the content.tsx open (or open again) when navigating to a new page?
I am trying to redirect the user from the content to a new page (for web scraping uses) and I need to open the extension again once the new page is opened.
6 replies
PD🧩 Plasmo Developers
•Created by GabrielDSFS on 6/21/2023 in #🔰newbie
Why my extension doesn't update automatically sometimes?
Sometimes I'm writing code and saving it multiple times, then I save it a last time before testing, it says its re-packaged but it's actually behind, so I have to restart the dev server to see the changes.
3 replies
PD🧩 Plasmo Developers
•Created by GabrielDSFS on 3/30/2023 in #🔰newbie
How can I not use a Shadow DOM on content?
I need to make it so the content.tsx is fixed to the top of the page (kind of like position-fixed) and push the rest of the open page down, not be "above" it,
3 replies
PD🧩 Plasmo Developers
•Created by GabrielDSFS on 3/29/2023 in #🔰newbie
How can I import a font (Roboto) inside content.tsx and keep my style?
I have 2 files:
base.css where it only imports the font (from Google API)
and style.css where there's all the stylesheet.
How can I do both? Seems like I can only do one or the other. I have tried to concatenate like
"export const getStyle = () => {
const style = document.createElement("style")
style.textContent = baseText + styleText
return style
}"
but it doesn't work.
2 replies
PD🧩 Plasmo Developers
•Created by GabrielDSFS on 3/21/2023 in #🔰newbie
How can I add Robot font to Plasmo?
Just adding as normal doesn't work.
2 replies