Build time slowed by switching to plasmo with src
Importing Material Symbols to Content UI
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,[email protected],100..700,0..1,-50..200");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,[email protected],100..700,0..1,-50..200");
GmailJS + Plasmo
Using context between sidepanel tabs
Freezing and crashing without reason
Modifying HttpOnly cookies
content.ts
file that edits the document.cookies
, but that doesn't include httpOnly cookies. I then made a BSGW and tried to use the webReqeuest API to listen to the onHeadersReceived event, but that also doesn't include the set-cookie headers. Does anyone have any ideas on how to go about doing this?Local Storage Item does not show up in service worker dev tools ?
CSS loading order
content-scripts-ui
[1] template as foundation - specifically the google-sidebar
variant. I've kept the same 2 CSS files i.e. google-sidebar-base.css
and google-sidebar.css
for styling whereby the former is loaded into the parent page (import "./google-sidebar-base.css"
) and the latter is loaded into the shadow DOM (via getStyle
). I've modified isOpen
to be closed/false by default.
Problem: The first time the extension is rendered, the styles from google-sidebar-base.css
don't get loaded and the extension panel renders on the left hand side and with a smaller width than normal. Once I refresh it, the problem goes and stays away for some time, until I close my browser or if I refresh after some time has passed. Any idea why this might be happening? Feels like a race condition until the stylesheets are cached maybe. Any help would be appreciated....Messaging-chrome.runtime.sendMessage() called from a webpage must specify an ExtensionID (string)
sendToBackground
from a function injected into the webpage from the content script through the 'MAIN' world. The website is also already is listed under "externally_connectable" and have an async API call set up in a file under background/messages
.
The code is like this:...How to add additional icons into the extension build
Can't import useChat from Vercel's AI SDK
github action permission denied

"Hot pushes" in Plasmo extension
How to integrate lemonsqueezy into plasmo plugin?
Supabase auth with OAuth, in Popup instead of Options page?
Injecting CSUI inside iframes?
Jasper
does work, and grammarly does work too. So I know this is feasible.
How can I implement this? Can I use Plasmo's lifecycle or do I need to implement my own approach?...
Document is not defined on chrome mv3 in a background.ts file
Which is the current preferred method to wake a BGSW? FCM or WebSocket polling?
how to setup auto/force updates?