🧩 Plasmo Developers

PD

🧩 Plasmo Developers

Join the community to ask questions about 🧩 Plasmo Developers and get answers from other members.

Join

👾extension

👟framework

🔰newbie

🦉pallas

captureVisibleTab()

when I use chrome.tabs.captureVisibleTab() I get this error Error: Either the '<all_urls>' or 'activeTab' permission is required. but I have both of those permissions in the manifest.json

What's a sandbox?

And how does manifest.content_security_policy.sandbox affect it?

How to send messages from content to background

I tried to do send a message to the background but it doesn't seem to be called and I don't have any error. Just nothing happen. Am I doing this right? ``` // in content.tsx const resp = await sendToBackground({...

React Router doesnt display UI until after being updated, all help appreciated!

Hi, so when I navigate to a differentpage in my chrome extension, the page is supposed to display a colection saved in Firebase if the user is signed in. This works, except it seems that the onAuthStateChanged doesnt run until the page is updated (i write a comment or a paragraph in dev mode) and then its able to see its authenticated and then dispalys the UI, heres an image of what i mean

How do you create something like multiple pages or a carousel in plasmo?

Hi, I'm pretty new so sorry if this is obvious. I have an image of an example of what I want, I want to be able to click a arrow or drag in a direction and access a new page in a chrome extension, how do I do that? Am i supposed to use react router or something? I appreciate all the help :) !!...

How to use Inline Anchor

COMPLETE noob to javascript and html, and I'm trying to setup an inline anchor for the twitter checkmark. Can anyone help me understand how to do that? Documentation is leaving me dazed and confused @nullport Moved this to here for future look-up (we will also improve the doc using these Q/A as well :p)...

How to run and test an example

Hi guys, I'm learning Plasmo and at the moment I want to run examples in PlasmoHQ/examples. However, after cloning the project and cd into a certain example dir then run pnpm i I get this error. Is it because I missed some important steps? ref: https://discord.com/channels/946290204443025438/946290204904390690/1044533896668258327...