In this post, we will see how to resolve Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘query’) get current tab url for v3? Question: I’m referencing the instruction on https://developer.chrome.com/docs/extensions/reference/tabs/#get-the-current-tab. I know there are many questions on ...

In this post, we will see how to resolve Performance: Single import vs multiple in background service worker Question: Considering caching in a browser extension and the stop/restarting of background service worker (or event page), which of the following would ...

In this post, we will see how to resolve signInWithCredential returns error in auth flow for Chrome extension (manifest v3) Question: I’m trying to authenticate a user in the background script (service worker) of a Chrome extension (manifest v3) with ...

Question: Considering a situation where network connections have to be processed based on user-set criteria, in MV2 with persistent background script, criteria can be cached to avoid repeated calls to the storage. AFA I understand, that would not be possible ...

Question: I am trying to create a chrome extension, that will redirect to custom html file. the page is blocked by the browser manifest.json blocker.js Page blocked Image Answer: Either add blocked.html to web_accessible_resources in manifest.json or switch to using ...

Question: I’m making an extension for chrome where the user can input a script, then press “run” to inject it into the current tab. I am using MV3 (manifest v3). Are there any ways to do this? My code: HTML: ...

Question: how to use the new insertCSS and removeCSS in manifiest v3? the docs don’t help me and didn’t give some example on that. I have a CSS file that I want to inject it in the page and remove ...

Question: I’m learning how to build chrome extensions with manifest v3, what I’m trying to do is the following In my extension background.js (service worker) I want to do this: connect to WebSocket to get data updates reconnect to the ...

Question: I don’t know what’s the best way to phrase it, but I decided to make a post here since I’ve been searching for a few days and couldn’t find an exact answer to what I want to do. So, ...