29,505 questions
0
votes
0
answers
23
views
How should encryption keys be managed securely in a client-only Chrome Extension?
I am building a Chrome extension where some user data (for example tab metadata) must remain on the user’s device due to Chrome Web Store privacy policies. The extension is not allowed to send this ...
-1
votes
0
answers
54
views
Secure key management for locally encrypted data in a Chrome Extension (Web Crypto API) [closed]
I am building a Chrome extension where some user data must remain on the user’s device due to Chrome Web Store privacy policies. The extension is not allowed to send this data to a server.
Because of ...
Advice
0
votes
0
replies
52
views
Is there a supported API for Chrome extensions to enumerate installed ChromeOS apps (including PWAs and default apps)?
I am developing a Chrome extension for ChromeOS.
I need to determine whether there is a supported API that allows an extension to enumerate installed ChromeOS applications, including:
- Default system ...
0
votes
1
answer
77
views
Chrome Extension content script cannot query elements inside shadow DOM on third-party site
I'm building a Chrome Extension (Manifest V3) that injects a content script on https://degreeplanner.osu.edu. The content script needs to read course information from the page DOM.
The content script ...
-1
votes
0
answers
123
views
Chrome extension's local storage not up to date
I am trying to further develop a Chrome extension from a version that has been working well for years. The snag that I have run into is as follows:
If I have two tabs open, with different pages but ...
0
votes
0
answers
57
views
How can you edit the right click menu on google docs using google chrome
How can you edit the right-click menu on google docs using google chrome to display a button that says "open sidebar," and the sidebar will be a simple "hello world" sidebar?
0
votes
0
answers
112
views
Why am I unable to get a Bilibili tab group in Chrome using the chrome.tabGroups.query() API?
troubleshoot
I am using the chrome.tabGroups.query() API to retrieve all tab groups in Chrome. It successfully returns the groups for "TAB" and "YOUTUBE", but I can't seem to get ...
1
vote
1
answer
86
views
Chrome extension to redirect specific URLs using chrome.declarativeNetRequest.updateDynamicRules and regexSubstitution
I'm developing an extension that redirects specific URLs. I'm using chrome.declarativeNetRequest.updateDynamicRules to create dynamic rules like one that is presented down below. Then my extension can ...
1
vote
0
answers
86
views
Implementing a Chrome extension using Angular 21 and TypeScript [duplicate]
I’m trying to implement a chrome extension using Angular21. I need to compile background script, that is written using TypeScript. For this I need to compile background script inside Angular build. I ...
Advice
0
votes
0
replies
75
views
How to programmatically show the context menu in Wordpress Gutenberg editor?
I'm writing a Chrome extension to help with Wordpress Gutenberg editor.
When I click a block in the editor, a context menu appears, like this:
How can I programmatically make this context menu appear ...
Advice
0
votes
2
replies
102
views
How to get chrome profile(Profile Path) in an extension
User can see it opening chrome://version page. But unfortunately i found no way to get it programmatically. I did try to fetch this page or load a content-script. But by fetch i get an error that this ...
9
votes
0
answers
445
views
Chrome is rendering prism code highlighting on a page with no scripts and only one pre tag, if I have the 1Password extension turned on [closed]
I have one HTML page. This is the entirety of the code:
<html>
<body>
<pre class="language-javascript"><code> function x(){ } </code></pre>
...
Tooling
3
votes
1
replies
359
views
Open Chrome Tabs in Split View
Google Chrome recently introduced a "Split View" feature. It can be accessed in the context menu for anchor HTML elements and then opens the page on the right side. It seems they treat it ...
0
votes
0
answers
151
views
Firefox WebExtension new-tab <video> briefly flashes black between poster and first frame, even though source video has no black frame
I am building a Firefox “New Tab” WebExtension that shows a full-screen looping video wallpaper (cat + fireplace). For perf reasons I try to show a static preview instantly and then fade into the live ...
Advice
0
votes
2
replies
50
views
In Wordpress Gutenberg editor, how to trigger change detection in a html block?
I'm trying to write a Chrome extension for editing a WordPress page. I'd like the extension to modify an HTML block. I've tried to modify the textarea element's value and textContent but these changes ...