Skip to main content
0 votes
1 answer
70 views

I’m building a Chrome extension for Gmail using InboxSDK v2. My registerComposeViewHandler works perfectly when I click Pop out reply (the floating compose window), but it never fires for an inline ...
hlaliberte's user avatar
0 votes
1 answer
54 views

I have a browser extension that I'm trying to port on Safari. On some devices/version of the browser (mainly on mobile versions), the following code will throw an error: await chrome.storage.local.set(...
FMaz008's user avatar
  • 11.3k
0 votes
0 answers
109 views

Prevent Chrome Native Downloads for Intercepted Links in Manifest V3 Extension I'm building a Chrome extension using Manifest V3 to intercept file download links (like .zip, .exe, .mp4, etc.)—...
Talha's user avatar
  • 1
0 votes
0 answers
40 views

My extension is designed to control music playback on the music.yandex.by web-site. When user click buton in popup I am passing message from background to content script. While the music is playing, ...
Nikolai Nagornyi's user avatar
0 votes
0 answers
51 views

So I have this project with React 19 and typescript and am using Webpack to compile my code. I have successfully added react to pop-up, but I have problems when I compile my content script (overview....
Vlastimir Bulatovic's user avatar
0 votes
0 answers
103 views

So I have a Chrome Extension that I need to update to MV3 that involves injecting Content Scripts. Via a popup the end user should be able to enable / disable which scripts should be injected, with ...
Benjamin's user avatar
0 votes
1 answer
210 views

Goal I am trying to create a Chrome extension that will embed a CodeMirror Editor in the web page. I use vite for bundling the CodeMirror package and use chrome.scripting.executeScript to run my ...
ichini's user avatar
  • 11
0 votes
2 answers
220 views

I'm trying to fetch an object from the current page window via a content script. The object itself is available if I log the window/this object but when I try to access it via the content script it ...
bramdc's user avatar
  • 652
0 votes
0 answers
35 views

Lets say for example .custom. Whenever I am opening the file with extensions .custom, it should open in Chrome and the content script should load. How to implement this? I have added the code below, ...
Sanjay Sudheer's user avatar
1 vote
1 answer
126 views

In Chrome extension content scripts it is fine to do: const myTarget = new EventTarget() myTarget.addEventListener('test', () => console.log('test1')) myTarget.dispatchEvent(new Event('test')) but ...
shadryck's user avatar
  • 331
1 vote
0 answers
16 views

I wrote a userscript a while back for a specific webpage and I want to make a more polished tool using a web extension. The general idea is, Im intercepting a webpage's builtin Class, and rewriting ...
Mister SirCode's user avatar
1 vote
0 answers
115 views

Dev tools of the site, dev tools of the service worker and background.js can open a websocket connection perfectly fine. The content scripts however, will trigger onerror, then onclose immediately. I ...
Peasant Lord's user avatar
0 votes
0 answers
256 views

I am trying to click automatically a "don't logout button" when it appears. I managed to click it manually with a popup in the chrome-extension. But it would be nice if the button will be ...
protter's user avatar
  • 131
1 vote
1 answer
86 views

The objects I defined in page script seem not accessible in content script for an extension. But the two scripts do share some variables such as window, document, etc. Is there a way to expose some ...
William's user avatar
  • 978
0 votes
1 answer
233 views

The chrome.runtime.onMessage.addListener() function is being invoked once for the first message received, but subsequently, it's being invoked multiple times, increasing with each subsequent message. ...
jerryj1127's user avatar

15 30 50 per page
1
2 3 4 5
48