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
0
votes
0 answers

How cannot I install a Google Chrome App I developed myself?

I have created a Google Chrome App and published in webstore, but not listed. When I go to this URL: https://chrome.google.com/webstore/detail/my-app/thisistheid?hl=en This appears in the installation button: However, during development, I could…
jstuardo
  • 3,901
  • 14
  • 61
  • 136
0
votes
1 answer

In chrome website rendering in iframe with different domain is unable to set and get cookies

Website a.com is rendering b.com in iframe. When running website b.com alone, everything is working fine. But when running a.com, website b.com is unable to set or get cookies. a.com has no part in set or get cookies. b.com is setting or getting…
0
votes
0 answers

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 so how is that done? The manifest.json for Chome…
0
votes
0 answers

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 attempting to create a prototype that utilizes…
0
votes
0 answers

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, { bitrate: 937500, dataBits:…
Francesco
  • 396
  • 3
  • 7
  • 17
0
votes
1 answer

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 previewing the document and saying that "No Preview…
Vinoth ios
  • 255
  • 1
  • 3
  • 12
0
votes
0 answers

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 can use execvp to detect which programs your…
0
votes
0 answers

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
0
votes
0 answers

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:"chrome|2.1"}; const responseHeaders =…
0
votes
0 answers

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. Also, how can I put this link into a button on any…
0
votes
0 answers

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 native application could send events back to the web…
0
votes
0 answers

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 for other non-Chrome apps (in my current case it's…
Pavel Ooo
  • 63
  • 1
  • 2
  • 8
0
votes
0 answers

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 code snippet of background JS. function…
0
votes
0 answers

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
0 answers

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", "description":"Changes the What's On Your Mind…
1 2 3
99
100