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.

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

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

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

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:

  • Shells (VMWare, Citrix, SSH, RDP or VNC clients)
  • Music/video streaming
  • Photo/video/music editing

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.

2522 questions
153
votes
3 answers

Chrome Extension Message passing: response not sent

I am trying to pass messages between content script and the extension Here is what I have in content-script chrome.runtime.sendMessage({type: "getUrls"}, function(response) { console.log(response) }); And in the background script I…
78
votes
5 answers

Difference between Chrome Apps and Extensions

What is the difference between Chrome Apps and Extensions? What can you do with apps that you can't do with extensions or vice versa?
frum
  • 823
  • 1
  • 7
  • 6
56
votes
4 answers

How to change chrome packaged app id Or Why do we need key field in the manifest.json?

I'm developing packaged app for chrome store using one-time chrome wallet payments. For my app I need to check during the runtime if user bought the app or not to decide should it be demo functionality or full functionality. According to the chrome…
48
votes
2 answers

Chrome App webview and touch scroll propagation

I am in the happy position of replacing a Windows 8 Metro app with a Chrome packaged app. For the time being, it needs to mimic the look and feel of the Metro app. The main page consists of multiple webviews arranged horizontally with a large amount…
powski
  • 489
  • 3
  • 4
40
votes
2 answers

Chrome DevTools: paused before potential out-of-memory crash

In latest Chrome DevTools I can see a new information: Now, I'm not sure how to use this information. It seems to appear randomly in the app. How can I debug the app to avoid potential out-of-memory crashes? I checked in task manager that at the…
Pawel Psztyc
  • 3,377
  • 2
  • 16
  • 34
38
votes
6 answers

Run chrome in fullscreen mode on Windows

I want to configure my computer to launch Google Chrome Windows start up. It should start in full screen mode and open some web page. I tried to run Chrome with the following command line: chrome.exe --start-fullscreen…
Vadym Fedorov
  • 2,277
  • 2
  • 20
  • 31
37
votes
1 answer

Refused to execute inline event handler because it violates CSP. (SANDBOX)

I'm developing a google chrome packaged app, when I put Sandbox in the manifest.json: { "manifest_version": 2, "name": "WM32216", "version": "2.1", "minimum_chrome_version": "23", "permissions":["webview",…
JC Borlagdan
  • 2,662
  • 3
  • 24
  • 44
36
votes
2 answers

Content Security Policy in Chrome App

My Chrome app has the following manifest: { "name": ", "version": "1.0.3", "manifest_version": 2, "description": "Chrome Extension for.", "icons": { "16": "images/test.png", "19": "images/test.png", "256":…
35
votes
3 answers

Unchecked runtime.lastError when using Chrome API

I use chrome.fileSystem API in my app to open a file. When I click the Cancel button of the file chooser dialog, an error occurs: Unchecked runtime.lastError while running fileSystem.chooseEntry: User cancelled How to fix this error?
27
votes
6 answers

eval in chrome package app

I would like to create a package app chrome extension to allow the user to write and execute javascript code (like a javascript console). I would like to use the eval() function to execute the JS code. The classic javascript eval function throws an…
26
votes
6 answers

Apps, Extensions and scripts cannot be added from this website

I'm trying to add the Rapid Interface Builder extension to chrome using the rib.crx file I downloaded from https://01.org/rapid-interface-builder/downloads/2012/rib-preview-1-chrome-extension Unfortunately, every time I open the crx file with chrome…
26
votes
7 answers

Universal path to chrome.exe

I am making an application and I want to make it installable on the user's desktops using chrome URL shortcut. Therefore, is there a universal path to the chrome.exe that can launch my app on all Windows versions ( XP, Seven and vista )
Sirine Hlima
  • 267
  • 1
  • 4
  • 7
26
votes
2 answers

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'"

Im creating a chrome extension for Rss reader in that im getting the above error. please help manifest.json { "name": "Tutorialzine Extension", "manifest_version": 2, "version": "1.1", "description": "Making your first…
26
votes
1 answer

Communicating between a Chrome packaged app and a Chrome extension?

I need to combine functionality available only in a Chrome packaged app (access to syncFileSystem) and functionality available only in a Chrome extension (injecting a script into a 3rd party website). It seems that neither a packaged app nor an…
25
votes
3 answers

What are the pros and cons of Chrome Apps compared to Electron?

I want to program a desktop app in javascript (with web technologies) and looked for a comparison between Electron and Chrome Apps. Everything I need seems to be possible with Chrome Apps, but there's a big hype around Electron/NW.js. What are the…
mamiu
  • 1,106
  • 2
  • 13
  • 30
1
2 3
99 100