Questions tagged [google-chrome-app]

Don't use this tag for PWA or the Chrome app/binary itself! Use this tag only for apps built using Chrome App specification. Just like web apps, Chrome Apps are written in HTML5, JavaScript, and CSS, yet they look and behave like native apps, and they have native-like capabilities that are much more powerful than those available to web apps.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

How to update the Content Security Policy in a Chrome app?

I see in Chrome's documentation that the content security policies for Chrome Apps can't be relaxed. However, I'm wondering: can the content security policy be updated to make it more restrictive? If ...
0
votes
1answer
27 views

Google cast and Android Webview [closed]

I have a requirement of casting a WebView that has mediaplayer in it to a TV. So, after reading some docs, I came to know about Chromecast. I came up with so many doubts. How can i cast that WebView? ...
0
votes
0answers
20 views

First Class IFrame Experience via Chrome Extension?

I'm trying to write a Chrome Extension to support more powerful tabs (color-coded, split view, floating, background, etc.), but Chrome Extensions don't support the majority of those features, so I was ...
0
votes
0answers
20 views

chrome.tabs.captureVisibleTab() for inactive tab

With chrome.tabs.captureVisibleTab() function, I can take screenshots of active tabs. Can I take a screenshot of an inactive tab with this function? or is there a method to take screenshots of ...
1
vote
0answers
22 views

ChromeOS PWA Debugging: “Failed to obtain app data, trying to run the app anyway”

I've built a PWA (link is if you'd like to replicate my issue and probably not representative of the final product). It runs fine both on my Macbook and on a Chromebase in a regular session. I can ...
1
vote
0answers
39 views

How do I make my chrome app save element changes?

Working on a chrome app which basically is a Note taking app, where i can add uls, which function independently as a to do list. I have a pretty big issue on this, probably the most important part. ...
1
vote
0answers
40 views

Pasting Firebase Dynamic Link into Chrome address bar opens playstore instead of app

At first, here is a working example of my dynamic link in debug view: The dynamic links uses a custom scheme like https://myapp.something/Xyz1 Now I come to the different behaviors using Google ...
0
votes
0answers
6 views

Different Chrome Tab Service Calling Implementation

Recently I came across the below mentioned use cases of the application. I wanted to know about the exact behavior/working of the chrome. I have a SPA where it makes more than 10 service call at a ...
0
votes
0answers
26 views

How can I create Chrome App Shortcut for local HTML or non-website?

https://i.imgur.com/aD7z1zo.jpg So I have an html file I launch with Chrome, but I want it to launch as an App through the desktop. Currently have it bookmarked but I want the features of the app such ...
0
votes
0answers
26 views

Chrome.serial.onReceive event look like not raised

I'm building an app for Google Chrome that gets some bytes from device via COM (usb) port. The code simple: // connects the device function connect(port_name) { chrome.serial.connect(port_name, { ...
1
vote
1answer
56 views

Chrome Extension - Clear infobar label after debug mode

In recent versions of Chrome-based browsers, for some reason (probably, not a bug, it's a feature), after debug mode is detached, Chrome leaves this notification: "Programm started debugging this ...
0
votes
0answers
46 views

Get all accounts signed in on chrome browser from chrome extension

I am building a chrome extension and I'm redirecting the user to a google meet page. Google uses something like ?authuser=X at the end of URL to determine the google account to use with a video call. ...
1
vote
0answers
24 views

Asp.net application Having session Issues in only Some old Versions browser

When We Load the asp.net application in old version Browser it's shows the below Session error(EX: Chrome Version 56) but the latest browser the Application works fine. How to resolve this Issue? ...
0
votes
0answers
22 views

PDF No Preview Available in android webview

I am developing an android app in which I have to load a PDF in a webview by appending http://drive.google.com/viewerng/viewer?embedded=true&url= before the actual URL. But after loading it is not ...
0
votes
0answers
25 views

How to disable active background window to pop up while new tab opens in script in chrome?

As I am running a script in a chrome window and it's minimized. So while I am using chrome in another window, the script window keeps on popping as there's a function in it to open and close tabs. So ...
0
votes
0answers
39 views

How to detect if you're in Zoom Call using Chrome Extension

I wanted to create a chrome extension that can detect when I'm in a Zoom call. This is because my friends and I can know when we're busy (in zoom) / free (not in zoom). I know with a desktop app, you ...
1
vote
0answers
31 views

Why chrome.history.onVisited event is fired multiple times on a single visit?

I'm trying to do something when a web browser has loaded a new web page. my code in background.js is here. chrome.history.onVisited.addListener(function(details) { console.log('onVisited is fired: '+...
0
votes
0answers
25 views

I cannot pass JS functions to webview of google chrome app

I'm trying to pass headers through JS code using my chrome OS app, but every time I'm getting undefined function error. I tried to use the sandbox for chrome apps but It didn't open anything and I ...
0
votes
0answers
28 views

Issue with Inject JS code to webview inside chrome OS app

I Created a Chrome OS APP to be a webview of my website, but I need to inject some JS codes to send some information to my server. here the codes exported_app_view.html <!DOCTYPE html> <html ...
0
votes
1answer
52 views

How do you remove the errors from Chrome Extensions?

I am getting warning errors when developing Chrome extensions. Unfortunately, this would be fixed in the next release of a package I am using. I want to disable the errors as shown in the page below ...
-1
votes
1answer
41 views

accessing a Chrome App from web page (from Angular)

I am developing a chrome app (Chrome OS) to interface with a serial port. I want to create an Angular application and access the Chrome App (as API) - from my Angular application. I am looking for any ...
0
votes
1answer
87 views

Constantly getting the rejection - “Due to the Host Permission, your extension may require an in-depth review which will delay publishing.”

I am trying to publish the extension to chrome app store. I tried many times but getting rejected every time, the menifest file is:- { "name": "App name", "description&...
0
votes
0answers
22 views

Adding HTTP Header to Chrome OS APP is not working

I want to add header AppVersion to my chrome os app here what I did chrome.webRequest.onHeadersReceived.addListener( function(details) { const newHeader = {name:"appVersion", value:...
0
votes
0answers
64 views

How to access chrome tabs and fileSystem API

I'm developing a chrome app/extension that writes my opened URLs to a file, but I couldn't figure out how to do both. Chrome extensions allow access to the chrome.tabs API which I can use to get the ...
0
votes
0answers
37 views

Consistently getting error: ''Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.''

I am trying to push the data into the google sheets using extension and google api. I am unable to understand where I missing something. Why this is happening? When I am trying to add the data, in ...
0
votes
0answers
31 views

How to I add a button using content script in dailymotion video

I am making a dailymotion video download I need help from the community regarding one things that how can access the page url and append it like this https://savethevideo.net/#url=dailymotionlink. ...
0
votes
0answers
93 views

chrome.tabs.executeScript not working in inactive tab

I am developing a chrome ext.I need to inject the script when any page is loaded. The script works and change title while browsing in the tab I am on. But when I open any link with "open link in new ...
0
votes
0answers
60 views

It is possible to draw HTML / JS on screen outside the browser window (chrome extension)?

It's possible to paint something with HTML / JS on screen outside the browser? I know that it's possible to capture whole screen (event if you minimize the browser) - for instance sharing the screen ...
0
votes
0answers
72 views

Can extensions be run on Chrome OS in kiosk mode?

Google is deprecating Chrome apps in favor of Progressive Web Apps (PWA) or Chrome extensions. This leaves extensions as the only way to access Chrome device APIs. I'm looking for a way for my PWA to ...
1
vote
0answers
319 views

IPad Chrome Google Colab notebook how to get rid of keyboard icon in cell

Using iPad Pro 2020 and google chrome app (using desktop site), Colab notebook has a big fat keyboard icon on every cell. How to get rid of it? I got a hardware keyboard for the iPad and absolutely ...
0
votes
0answers
15 views

Google chrome app closes whenever I try to reload

I'm developing a chrome app that has a webview, and a few API calls within it. After it receives all responses from the api server, it uses chrome.runtime.reload() to reload the app and start over. ...
0
votes
0answers
100 views

Communication between the web page and the native app using Chrome native messaging

I am trying to establish the communication between the web page and the native application, so that The web page could send events to the native application, for example, by clicking a button The ...
0
votes
1answer
34 views

Access Chrome Enterprise AssetID in PWA

As of Chrome 81, Google allows managed Chrome Devices to add a PWA in Kiosk Mode. There's not a lot of documentation around this, but I've got it working in a basic fashion. I'd like to get the ...
0
votes
0answers
24 views

Can you disable copy and paste keyboard commands on a Chrome Kiosk app?

I am trying to prevent a user from being able to copy and paste from the keyboard in a chrome kiosk enabled app. It is a very basic app that uses a webview tag for browsing. I tried adding this ...
0
votes
0answers
38 views

How to silently save small text file to local filesystem in Chrome packaged app or Chrome extension?

I have a Chrome extension that reads some info (small portions of text) from webpages using content scripts, then sends it to background script. Then background script must make that info available ...
0
votes
0answers
66 views

send message from background.js to content.js of another page in chrome extension

I want to send message from background.js to Content.js of Another tab. Expected flow that I want. Page1_Content.js --> Background.js --> Page2_Content.js Is it possible? if yes then how? A ...
0
votes
1answer
84 views

What are the alternate ways to host a chrome extension other than developer dashboard

I have built and hosted chrome extension in chrome webstore through developer dashboard. With the recent announcement in https://developer.chrome.com/webstore/migrating, it is mentioned that Chrome ...
0
votes
0answers
163 views

Block Third Party URL or Inspectors in Shopify Store

Trying to Block Chrome Extensions like commerce inspector from My Shopify Store. This code runs perfectly on another store but it's now working correctly on my Shopify Store. var junk_sites = ["...
0
votes
0answers
30 views

How do I create a Chrome Extension to change a message (inner HTML) on the Twitter homepage (DOM)?

I am trying to create a Chrome extension that changes the "What's on your mind?" message in the Twitter status update box, but I am stuck. Here is my manifest: { "name":"Change Status Update", "...
0
votes
0answers
62 views

REST API / background.js / popup.js / popup.html - Stateful popup card

I'm presently unable to maintain a stateful position with popup.html/popup.js when building a Google Chrome Extension. I'm currently able to get the triggers/listeners to work so that background.js ...
0
votes
0answers
19 views

chrome.app.runtime.onLaunched.removeListener() don't work

I tried to make a moving wallpaper for ChromeOS with this app. When I clicked on my app, It's working but if I clicked my app again, it won't stop. JavaScript: function moving() { var num = 0 ...
0
votes
0answers
50 views

HTML Geolocation API not working in chrome mobile

After updating chrome mobile to version 81.0.4044.117, HTML geolocation API is not at all working. I tried it on a secure connection (https://) tried accessing from different demo sites (all are on ...
1
vote
0answers
46 views

IndexedDB access from different source Chrome extension

I want to develop a Chrome extension that can access an IndexedDB that was created by an origin that is different from the one where the Chrome extension is active. From the docs it seems that ...
6
votes
0answers
105 views

How to receive and store file on tcp socket for chome app

I am developing a chrome app which should accept a file from client and store in local file system. I have a tcp server where client needs to connect and send file. I have listener for tcp socket ...
0
votes
0answers
13 views

Not receiving message in background.js [duplicate]

I want to load HTML contents in content.js and then pass it via message to background.js for further processing. content.js chrome.runtime.onMessage.addListener( function(request, sender, ...
1
vote
1answer
396 views

Can I access an USB HID in Chrome without an App?

I want to use an USB HID from a website. The website will only be accessed by Chrome browsers. The solution should require a minimum amount of extra software and setup for the website user to work. ...
1
vote
0answers
28 views

Google Chrome Extension onSingInChanged always returns signedIn = true

Why https://developer.chrome.com/extensions/identity#event-onSignInChanged method onSignInChanged returns account data and signedIn = true, no matter if I log in or log out of my google account. ...
1
vote
1answer
60 views

Chrome audio API is undefined (Chrome OS app)

In our Chrome App for Chrome OS (yes, we know that Chrome Apps are being discontinued, but this is a kiosk app and kiosk mode is not yet supported for PWAs), we would like to use the chrome.audio API ...
0
votes
0answers
26 views

How to make a condition to change color of PDF doc when loading it from local path on Google chrome default PDF viewer

I'm trying to create a Google chrome extension, I want to know if there is a way to write some conditions for modifying the color of Pdf background when loading it from Google chrome default PDF ...
0
votes
0answers
64 views

Will --app switch continue to work with Chrome command lines after June?

I have a web app that I currently run by creating a shortcut on my Windows 10 desktop to run the following command line: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -app=http://...

1
2 3 4 5
50