Questions tagged [google-chrome-extension]

Extension development for the Google Chrome web browser. You write them using web technologies such as HTML, JavaScript, and CSS.

0
votes
0answers
10 views

Chrome CORB just started blocking Snoowrap Reddit API calls. How do I get around this?

I've been working on a Chrome extension that calls the Reddit API using Snoowrap installed by Node. It's been working great until today. All my requests now return empty responses, and I get the ...
0
votes
0answers
15 views

Chrome extension: missing class instances in background page

I'm trying to build a "complex" extension for google chrome, in fact the extension is actually build (JSLoader), and the structure used in the extension worked a few months ago. Now I want to update ...
0
votes
1answer
26 views

Possible to run a chrome extension within another chrome extension?

Long story short I'm looking to create a Chrome extension that will run within a site that only wants to run Internet Explorer (Oracle EBS). So far my only option has been to run IE Tab, which works ...
0
votes
0answers
10 views

Native Messaging Protocol send 0 length message

Hello I have an extension which utilizes the Native messaging host protocol. All messages sent from the extension should have a non-zero amount of data. This works 99.999% of the time. However, in my ...
0
votes
0answers
10 views

How to ask for more quota persistent space via javascript on chrome?

I am using below code to request more Quota space in chrome: navigator.webkitPersistentStorage.requestQuota ( requestedBytes, function(grantedBytes) { window.requestFileSystem(PERSISTENT, ...
0
votes
0answers
16 views

How to add third-party scripts in a Chrome Extension that runs inside Gmail to develop a @mentions feature

I am trying to develop a @mentions feature in my Chrome Extension, using jquery atwho (https://ourcodeworld.com/articles/read/516/how-to-create-a-mentions-autocomplete-with-jquery-and-atwho). This ...
0
votes
0answers
18 views

Authorization via launchWebAuthFlow within Chrome Extensions/Apps

I have a few questions for which I have been unable to find explicit answers to anywhere else. I have a chrome extension that I would like to access a secure api from. I have successfully setup the '...
0
votes
0answers
14 views

activate an chrome extension program only when I connect to a specific site

I want to activate an chrome extension program only when I connect to a specific site For example, an octotree is only active when connecting to a github. I want to be active only when connecting to ...
1
vote
0answers
20 views

window.getSelection() returns an empty string on Chrome when a word is selected

I am trying to make a simple extension, where the user can do a dictionary search by hitting a shortcut. It will open a new tab with the dictionary search of the word selected by the user. However, ...
0
votes
0answers
9 views

Chrome extension permission for specific site, WITH all it's subdomains and extensions

i.e. I want extension to give permissions only for specific company sites, like: www.google.co.uk xyz.google.com etc... I've tried: "*://*.google.*/" but it chrome gives errors in extensions page, ...
0
votes
0answers
14 views

Send a Map to content script

I've got a problem while sending a Map to a content script. the Map (key = value) : Forum depth = A.forumtitle Forum title = LI.row A.forumtitle Topic depth = A.topictitle Topic title = LI.row.bg2 ...
0
votes
0answers
16 views

Create an extension to the browser to acces local scanner

I would like to access a special hardware (a penta scanner, for the wisest ;) ) from a web page. The aim is to retrieve the information from the scanner and compute it on server side. The problem ...
0
votes
0answers
10 views

Is there a program (GUI) for automatic (unattended) installation of Chrome extensions?

There are shell programs (for example, WPI) that allow you to automatically install a software package on a computer. Administrators create their own assemblies - prepare distribution, compose a ...
-1
votes
0answers
7 views

How to block Ginger spell check plugin in my web editor

I want the step to block Ginger spell check plugin in my online editor (i.e. contenteditable="true" attribute elements). Please help!!! Sample screenshot Thanks
0
votes
0answers
15 views

Shortcut to Chrome DevTools via Extension

Is there an extension to open the chrome dev tools? I know there is a shortcut (clr+shift+c) but I would prefer to click on the extension icon to open the dev tools element inspector. I have searched ...
0
votes
1answer
27 views

Selenium chrome is not allowing extension to run

I want to test Chrome extension using Selenium. Chrome extension is making the rest API call in the background. but Selenium chrome is blocking the remote connection. Error chrome_1 | Only local ...
3
votes
1answer
30 views

What is the difference between SpeechSynthesis and chrome.tts

The chrome.tts for extensions (https://developer.chrome.com/extensions/tts) and SpeechSynthesis (https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis) APIs seems to be able to do the same ...
1
vote
0answers
12 views

Using PageStateMatcher in Google Chrome Extensions API to filter webpages with a specific keyword in their meta tags

I'm learning how to program Google Chrome extensions. I want to use PageStateMatcher to match webpages including a specific keyword in their meta keywords tag. For example, if my keyword is "design", ...
0
votes
0answers
24 views

Problem with publishing Extension to Google Cloud Platform

I am trying to publish an extension that will interact with Google Sheets and Calendar. The extension itself is finished, but I am unsure of how to write the manifest file, or if the UI I've tried ...
0
votes
2answers
17 views

Right way to add button to page with onClick from Chrome Extension

I've read there are multiple ways to add a button to a page through a chrome extension, what is the "right" way? Currently I'm doing it like this: function notInterested(){ var ...
0
votes
0answers
31 views

File system access with javascript

I already developed an internal app that lets the user pick a folder and then I do some magic to the files inside that folder. That has been built using standards (html/js) and hosted on an internal ...
0
votes
0answers
14 views

Capture a screenshot of a specific element in the DOM using captureVisibleTab

Good day, I have created a chrome extension that grants my react app to capture a screenshot of the current tab using the message-passing. So an overview of how it works is that my react app sends a ...
0
votes
0answers
14 views

Chrome extension watch for changes and automatically update code while in developer mode

I'm building an extension and it takes time to continuously reload the extension after I make changes to the code. Is it possible to watch the files and always use the new files instead of having to ...
0
votes
0answers
22 views

Toggle on/off extension? Cannot read property 'onClicked' of undefined?

I'm trying to create an on/off toggle for my chrome extension. But, it keeps saying that it can't read my browser action on click? Here's what I have so far... manifest { "manifest_version": 2, ...
0
votes
1answer
14 views

How to make Chrome Extension using scraped data from other URLs?

I want this to be an extension which I will use on my own and not share to any other party. So, I am using request, cheerio and browserify through the node ecosystem, to let client-side mimic ...
0
votes
0answers
10 views

How to prevent chrome extension content script pausing when switching tab

I develop chrome extension. As usual I have extension button in the tool bar. On the popup I have start button. When click start then message with 'start' is sending and some process in the content ...
0
votes
0answers
15 views

How can you detect changes to the DOM done by an extension?

We're working on an intranet site and it's a bit of an odd setup, currently we inject help windows into the current page using a chrome extension. The teams that are managing the pages are looking for ...
0
votes
1answer
25 views

How to make Youtube videos play from code without having the user to switch to that tab

I am making a chrome extension where user can make playlists of songs. For that when I click on play button I need that new tab should open and the video should start playing but youtube video doesn't ...
0
votes
0answers
16 views

How to scrape sizing chart data from multiple product listings with a chrome extension

I am wondering how can I build a chrome extension that when it is opened on a page will scrape the sizing data from each product listing and put it in an object. I am trying to do this on Uniqlo(...
0
votes
0answers
32 views

ChromeExtension: Storage per tab

I want to store the state of my extension not in the single chrome.storage but per tab, the extension is about making a grid system overlay on any page and want to store the latest updates per tab ...
0
votes
0answers
16 views

Chrome Extension Native Messaging host exe not running for standard user on Windows 7 [on hold]

I have developed a chrome extension native messaging application and the host exe is written in c#. Everything works wonderfully. All my testing was done on my PC and I had admin rights. When I tried ...
0
votes
1answer
21 views

Intercepted XHR - run function before raising load

On a web page with a extension-injected custom XMLHttpRequest class, I need to intercept and modify certain responses before the load event is raised on the rest of the document. Right now, my ...
0
votes
0answers
7 views

Changing unlisted extension to public - is there a secondary approval process? [on hold]

We deployed an extension to the store in unlisted status and it's currently pending review. Once it's approved and we change the status to public, will there be a secondary review process?
1
vote
2answers
29 views

chrome.storage.sync.get always returns default value

I am developing a chrome extension and it requires me to keep track of the last date that the extension was run. To do so, I am using chrome.storage.sync, however, the get call always returns the ...
0
votes
0answers
35 views

chrome extension to change the font

I'm having trouble accessing the DOM when trying to write a Chrome extension to change the font. I keep getting the error: "Error in event handler: TypeError: Cannot read property 'executeScript' of ...
0
votes
1answer
25 views

Retrieve Google Sheets data with Chrome extension

I've found multiple tutorials and posts similar but none that quite give me an answer. I've gone through these and others: https://developer.chrome.com/extensions/tut_oauth Google sheets API with ...
0
votes
1answer
31 views

Inject existing element into React

I'm trying to inject an already existing element on the page into my react DOM in order to wrap around it. Something like: var someElement = document.getElementById("stuff") var parent = ...
0
votes
1answer
18 views

Triggering .dblclick() do not work (Dojo issue?)

I am creating a chrome extension where I replace a textarea by an improved version to display rich text on a website. On the old textarea, it was asked to double click and press enter to save the ...
0
votes
1answer
26 views

install external chrome extension in mac terminal

I have built some extensions of Google Chrome. I have the CRX files and I kept them my local system which is MAC 10.13. I wish to install my custom build extensions through bash script, purpose is ...
0
votes
0answers
23 views

Change CSS letter-spacing through Chrome Extension

I'm trying to make a Chrome extension that will add extra letter spacing on all websites (letter-spacing: 4px). It also uses placekitten to replace all images to kitten photos. However, when testing ...
2
votes
2answers
22 views

Chrome Extension content_script at both document_start and document_end

Good day to everyone, as you can see I'm pretty new at Chrome extensions. Can you run a script from content_scripts before and after the the DOM or page fully loads? Like: "content_scripts": [ { ...
0
votes
0answers
24 views

Not able to debug individual browser action js files in React Chrome extension

I am developing a chrome extension using react which has a background script and multiple browser action js files. This is my project structure MyExtension |__build |__public | |__images | |...
0
votes
0answers
14 views

Can a cookie be stored in an extension?

I am extending a chrome extension and have created a user id which is stored in a cookie so I can give "advanced recommendations" to the user. This works well for one url domain but if they go to ...
0
votes
0answers
32 views

Chrome Extension Content Script - Inject Javascript before page code

I am trying to make a Chrome extension with a content script to inject a script into a webpage before all other scripts in the page. (I am using the xhook library to intercept XHR requests, which ...
-1
votes
0answers
32 views

Chrome Extensions: want to trigger my function if all the page elements loaded only

I want to load my function to change the background color of records. The page performs Ajax call to refresh the content. I tried below EventListeners but failed to call my function: load unload ...
1
vote
1answer
25 views

How do i make my chrome extension remember the toggle switch or other actions?

my chrome extension does not remember the toggle switch. I am trying to make an extension that blocks the youtube feed and comment when the toggle switch is on. I tried to do it for comment section ...
0
votes
0answers
22 views

Chrome extension that posts to Reddit without revealing Reddit login credentials?

I'm trying to make an extension that will post to Reddit based on the current URL. It should do this in the same way for any user of the extension, i.e. the tool should be logged in, and not each user ...
0
votes
0answers
58 views

Chrome Extension: Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist

Recently, it is reported that the context menu of my app is vanished. If you remove the app and reinstall it, it works. But the vanishment happens again. I found an error. I'm not sure if the error ...
0
votes
0answers
13 views

Can blob recored by MediaRecorder in 'audio/webm;codecs=opus` be played directly?

I'm writing a chrome extension that simply records audio from a tab and sends to my local server. From my understanding, MediaRecorder in chrome extension is just same as the one in html. chrome....
0
votes
0answers
24 views

How chrome.topSites extension API calculate most visited URLs?

The Chrome Extension API documentation for topSites is not informative about how Chrome calculates a "topSite." Even with a clean profile, it's unknown how the mechanism work. I'm looking for ways to ...

http://mssss.yulina-kosm.ru