Toggle content.tsx visiblity with the pinned extension icon

I want to be able to toggle the visibility of my content.tsx with the pinned extension icon in my chrome browser, Just like the way attio does it.
No description
Solution:
I was able to fix it... I'll drop a link to my repo https://github.com/oluwadaprof/dune...
GitHub
GitHub - oluwadaprof/dune: This is a plasmo extension that allows y...
This is a plasmo extension that allows you to toggle the display of the content.tsx with the extension icon - oluwadaprof/dune
Jump to solution
4 Replies
gmasid
gmasid•5mo ago
the only way i can think about its using chrome storage to store the state (open or closed) and grab that in content.tsx
Isreal23
Isreal23OP•5mo ago
My problem is being able to track the trigger action of the extension. @Vishal Please help.. a code snippet would be really helpful.
Solution
Isreal23
Isreal23•5mo ago
I was able to fix it... I'll drop a link to my repo https://github.com/oluwadaprof/dune
GitHub
GitHub - oluwadaprof/dune: This is a plasmo extension that allows y...
This is a plasmo extension that allows you to toggle the display of the content.tsx with the extension icon - oluwadaprof/dune
Isreal23
Isreal23OP•5mo ago
Feel free to copy and star the repo 💯

Did you find this page helpful?