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.

Note: Chrome Apps are to be discontinued by early 2018 for Windows, Mac, and Linux. However, they will still be supported on Chrome OS.

Google Chrome Apps deliver an experience as capable as a native app, but as safe as a web page. Just like web applications, Chrome Apps are written in HTML5, JavaScript, and CSS. But Chrome Apps look and behave like native applications, and they have native-like capabilities that are much more powerful than those available to web applications.

Chrome Apps are distinct from Chrome Extensions; use the tag if you want to ask a question about Chrome extensions.

Note: Chrome for mobile platforms ("Chrome app") is not covered by this tag. Use the tag for questions regarding mobile Chrome.

Chrome Apps have access to Chrome APIs and services not available to traditional web sites. You can build powerful apps that interact with network and hardware devices, media tools, and much more. Here's a short list of examples:

Working samples and examples can be found on GitHub as well as a step-by-step guide.

The term "Chrome app" used to refer to legacy "packaged apps", which is deprecated in favour of Chrome apps.

2527 questions
1
vote
1 answer

GUI in Chrome Packaged app

I am new to Chrome packaged apps and GUI. What type of Gui can I use in Chrome Packaged apps? Can I use Tkinter in Python? or should I use Javascript GUI? If yes then which one you think is the best one to be used since I need to draw canvas and…
1
vote
3 answers

alert doesn't work in packaged apps

I'm studying webview in packaged apps of chrome and I'm studying browser sample from chrome. in browser.js file in onload function, I added alert("webview apps"); at the first row and the code didn't work anymore, when I deleted this row, it…
Kien Dang Ngoc
  • 1,079
  • 5
  • 15
  • 25
1
vote
1 answer

Chrome packaged app UDP sockets not working

I'm trying to get UDP sockets working for a packaged app using Chrome Canary (currently version 25). I am pretty confused by the fact the UDP example here conflicts with the reference documentation here. The official example uses this…
1
vote
1 answer

Is it possible to install an AppCache manifest file while offline?

In times where I want to install an offline Browser App in an offline setting, is it possible to install the AppCache manifest file so the app can show up at http://example.com/app.html? It doesn't matter which browser, I just need one.
1
vote
3 answers

Paste an Image from Clipboard in Chrome

I am working on editor where I would like to provide a button by clicking which I want to paste an image which is already copied to the clip board. I couldn't do this as the browsers doesn't allow to access clipboard due to security reasons. I…
1
vote
0 answers

chrome.socket.read gives negative error code on self-addressed message

I'm having problems reading a message from myself using the chrome.socket API. I'm creating the socket as follows: chrome.socket.create('udp', {}, function (_socketInfo) { socketInfo = _socketInfo; chrome.socket.connect(socketInfo.socketId,…
1
vote
1 answer

Platform compatibility of Chrome Stand Alone Apps

I'm doing some reading on Google Chrome stand-alone applications and I see they are distributed like Chrome Extensions, and by all means, they seem work just like Chrome Extensions, so I assume they will run on the major platforms that run Chrome,…
Victor S
  • 5,098
  • 5
  • 44
  • 62
1
vote
2 answers

Message Passing from Packaged App to Extension

I have seen this article about passing messages between extensions which works when you know the extension ids. But, what I would really like to do is pass a message from a packaged app to an extension. I tried to implement the steps in the article…
1
vote
2 answers

Is there a captureVisibleTab alternative for Packaged Apps?

I'm developing a Packaged App for Chrome (not a Legacy Packaged App) and need to get an image of the whole window which will then be further processed. Unfortunately for that kind of apps it's not possible to request the "tabs" permission which is…
0
votes
0 answers

Chrome.commands shortcuts

I have been trying to set my moving tab shortcut, within chrome "cmd + shift + ] | [ " you can navigate within tabs, and I made a extension to be able to move tabs to. Right now my shortcut for moving tabs is "cmd + control + right arrow | left…
0
votes
0 answers

How to track screen time in Chrome extensions

I'm building a browser extension as part of my website for self-discipline and anti-procrastination, one of the core features is to track users' active usage of each website. Just like how Apple tracks our screen time, I wish to have an extension to…
0
votes
0 answers

Can a chrome extension or javascript monitor other chrome extensions?

I want to protect a webpage's data from the extensions which have permission to read the site's data. I guess some kind of protection must be done on the client side for this purpose. As per my knowledge, there can be two methods using the default…
0
votes
0 answers

How can I fix chrome.runtime.onConnect.addListener not working in my ChromeApp on ChromeOS versions 110 & above?

serviceApiCall: function () { chrome.runtime.onConnect.addListener(this.addChromeListner); // This calling is not working } addChromeListner: function (port) { //this function called propely in chromeOS 109 version. But…
Sambad
  • 147
  • 1
  • 7
0
votes
0 answers

is Google ManagedConfiguration API is also supported on android/ios?

i have added this line in my code which fetched the configuration for my application , navigator.managed.getManagedConfiguration(['Config']) However , when i am trying to access from my chrome android browser site is getting creashed. is it even…
0
votes
0 answers

Blurry Printing from Google Chrome to thermal printer

I am using google chrome for POS, my problem when i print the receipt from the browser the printing very blurry and bad quality. Any idea how to fix this. I am using ZYWELL, Thermal Receipt. Printing from any another app is okay, But printing from…