Open devtools when pinned icon is clicked?
I’m making a Chrome extension which has a devtools panel. Is it possible to open this panel when the pinned icon is clicked?
How Loom Chrome Extension Authenticates Users?
I am building a Loom chrome extension clone.
I found that Loom has a smooth authentication process.
They redirect users to the login web page, sync authentication state with the extension and the web app.
Downsides to using window.dispatchEvent to send messages from content script to page scripts?
When sending data from a content script to a page script, both the Chrome docs and the MDN docs provide examples with window.postMessage()
. However, window.dispatchEvent()
seems to work just fine too, and allows customizing the event name with a CustomEvent
. Are there any security or capability downsides to using dispatchEvent
instead of postMessage
?
Why are my Chrome Extension permissions too broad?
Google developer portal says “You can significantly decrease review time by using more narrowly scoped permissions.” I want this thing only to run when someone is using Microsoft Teams in Chrome, so I thought asking for permission only for that site would make sense.
How to prevent my Chrome extension page from closing on extension update?
I made an extension that use can open a web page that I built, says: chrome-extension://abcdefghijklmn/note-list.html.
It is just shows like a normal tab and page, and the user can add notes to that page. User can open as many as they want. But the problem is, everytime when my extension has a new version and user updates the exnteion, those pages are gone. Is there anyway that prevent this?
Chrome extension, Load webpage from context menu, manifest 3
I’m updating my Chrome extension to manifest 3. The main functionality (button click) is fine. I’m trying to get the shortcut link to work:
chrome extention code only work when inspect
I am writing a chrome extension that read excel file and store user id and grade into chrome.storage.local. The extension uses popup.js and popup.html to do that.
when debug (use extention inspect), it works well. but when I do not use inspect tool, it won’t work.
I have installed the extension in debug mode, and running it using extension inspect tool, everything seems work well. The code read the excel file, and choose the 2 columns that I need to store. If I do not use extension inspect tool, it won’t work. Each time, I uninstall the extention to remove the chrome.storage.local content. I also let all other chrome extension won’t work.
Chrome extension – “details.requestBody” is empty for PATCH request
I’m trying to read some data from the incoming requests inside a chrome extension. Wierd issue is that in case of a POST request I get data from the body, but when reading it from PATCH it’s always undefined.
Manage current window in Incognito Mode? Chrome API
I’m making a chrome extension that opens an incognito window/tab from background, opens a website, and executes some script in the page, but the window object returned is always null no matter what I do:
How to open popup.html from contentscripts.js?
I’m trying to make a chrome extension that is a translator and ALSO displays a contextual menu on text select.
Everything works fine, but one of my menu items is Translate, which I require to open popup window in its onclick
.