How do I make a CSUI container fill the anchor's width and height?
textarea
(I don't need to handle the case where the textarea gets resized)....Opening content script only if an element is present on the page?
how to import/use external component libraries? and how to register components?
which is a good/scalable folder structure for a big extension?
HMR for other chromium browsers
plasmo dev --target=<some-chromium-target>-dev
plasmo dev --target=<some-chromium-target>-dev
Is there an extension repository that shows how the testing should be done?
How can I put breakpoints in vs code to debug? Or if you can't, what is the correct way to debug?
How to access the methods or variables of another third-party extension
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,GRAD@20..48,100..700,0..1,-50..200");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,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
