Category "google-chrome-extension"

How to handle "Unchecked runtime.lastError: The message port closed before a response was received"?

Forgive me for any glaring mistakes as I am new to chrome extensions, but this error with Chrome's message passing API has been discussed here, here, and here i

How to handle "Unchecked runtime.lastError: The message port closed before a response was received"?

Forgive me for any glaring mistakes as I am new to chrome extensions, but this error with Chrome's message passing API has been discussed here, here, and here i

Automated Chrome Extension installation fails on jenkins windows node

In my Jenkins job I try to install a chrome-extension using "C:\Program Files\Google\Chrome\Application\chrome.exe" --load-extension="D:\Jenkins\workspace\test\

paste image in Whatsapp chat using js in chrome extension

I want to paste image from my clipboard to whatsapp chat from clipboard i tried using document exec command with different parameters like insertHTML , insertIm

Network not showing up in the Chrome Extension Background Page on Manifest v3

I feel really stupid but for some reason I cannot find the Network tab in my DevTools anymore... It's been there on the new Manifest v3 before, just somehow dis

How to detect #enable-force-dark flag on Chrome v78+ using JavaScript?

I've recently designed and implemented a dark mode for my website that uses custom dark colors to match the light (default) color scheme, and I also recently be

Chrome Extension to Block Stored Links

I am trying to achieve the following: cancel the event (prevent the page from loading) if the link matches one of the links stored in Google storage and open th

Chrome Extension: Refused to load the script, because it violates the following Content Security Policy directive: "script-src 'self'"

I'm trying to add a game to Chrome Web Store as an extension, but I'm having some problems with it. The game is made in Unity3D. The Error: Refused to load the

How to intercept or pause http status code 301 request in a browser

I am looking for a solution to interrupt or pause a 301 ( redirect ) request in Chrome dev tools. My scenario is I have an API integration with a local payment

How can I customize user's current website cursor with my Chrome Extension using Vanilla JS?

I'm developing this Chrome Extension for Custom Cursors, I have the SVG path that I want to apply to the website's files that the user is using. What can I writ

Injecting React providers around page with Chrome Extension

I'm writing a Chrome extension that injects some React components into a page. Some of these components need to be wrapped by providers to work properly (for ex

How to get network response code (javascript)

I recently added a linkedin tag to my website for data tracking very similar to google tag or fb pixels. For me to know the tag is installed correctly, I would

DOM Parser Chrome extension memory leak

The problem I have developed an extension that intercepts web requests, gets the HTML the web request originated from and processes it. I have used the DOMParse

Youtube API getting "No filter selected" error on chrome extension when trying to call insert

I'm trying to call the youtube API to make a playlist on my channel from a chrome extension and I keep getting this error code returned back to me; domain: "you

Can chrome extensions access other extensions' background pages?

I'm trying to build a Chrome extension A that makes use of network requests -- however, the network requests that are relevant to me are made through a separate

Refused to load the script 'https://apis.google.com/js/api.js' because it violates the following Content Security Policy directive

I want to add google api in my popup.html but there is an error in cosole Refused to load the script 'https://apis.google.com/js/api.js' because it violates the

Is there a JavaScript / jQuery DOM change listener?

Essentially I want to have a script execute when the contents of a DIV change. Since the scripts are separate (content script in the Chrome extension & webp

Should I migrate to Manifest v3 because most of the features of my extension depends on persistent background

I have a chrome extension which uses WebSocket, webrtc, audio and HTTP connections heavily, also I am using react-redux in the background to keep a state of UI

Can not use variables from background-script inside the popup-script after using getBackgroundpage()

I am new to chrome extensions. I want to program a timer that alerts the user every 40 minutes and tells him to drink a cup of water, but I ran in some issues.

React extension is missing in Dev tools

I am trying to get my react extension working for local development, but "Components" and "Profiler" is missing in the Chrome developer tools. This only happens