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

Can a website detect extensions that are installed using Developed Mode?

In my case, I am using an extension that is prohibited by the website. I had downloaded the extension as a Zip file from the Chrome store and edited it in Notepad++, changed its name, and other things that can help in identifying the extension. But…
0
votes
2 answers

java script code not working in chrome mobile browser but in desktop its working fine

in my WordPress site i created java bootstrap loan calculator its working perfectly on desktop but when i use mobile chrome its not working. i tried with wp-coder plugin and try with manually adding this. in chrome dev tools mobile view its working…
buddhi kavindra
  • 126
  • 1
  • 1
  • 11
0
votes
0 answers

Chrome extension error "runtime.lastError: The message port closed before a response was received. "

I am buidng a chrome app to click a element after pageloaded : manifest.json: { "manifest_version": 2, "name": "click chapter-btn", "version": "1.0", "browser_action":{ }, "background": { "scripts": ["background.js"] …
0
votes
1 answer

Chrome Extension: insert a user input string into multiple declarativeNetRequest regexSubstitution rules

I have an extension that replaces the UTM parameter in URLs with the string WTTDOTM. It works by having a number of rulesets, each with an individual regexSubstitution rule. I did it this way because if I have multiple rules trying to do a regex…
user15371382
0
votes
0 answers
0
votes
0 answers

Chrome app storage settings itself works, but in another script returned value is undefined

I've built simple options form with 3 radio buttons. Seems that my options.js works correctly - i.e. if I change selection of the button, close options dialog and reopen it, the selection that I made previously is restored to the correct choice. But…
0
votes
0 answers

How do I Cache External Scripts in my Chrome Extension?

My popup index.html looks like this:
When people open the popup, they have to wait 2-5 seconds for the…
0
votes
0 answers

Hide Default title bar in Chrome Packaged App

I am creating a window on the launch app event, How can I be able to hide the default title bar so I can be able to create mine? from customize title bar in chrome packaged app, it was mentioned that we use frame: none but without showing how to…
iamafasha
  • 848
  • 10
  • 29
0
votes
0 answers

Refused to execute inline script because it violates the following - Content Security Policy directive with chrome apps based on react

So I have been trying to create a chrome app and I want to use react the challenge is I get this error on the index.html Refused to execute inline script because it violates the following - Content Security Policy directive: "script-src 'self'…
iamafasha
  • 848
  • 10
  • 29
0
votes
1 answer

Migrating Chrome USB App API to Web USB API

I currently have source code for a Chrome App, but as the platform is being deprecated I need to migrate my API to a Progressive Web Application. As I still want support for USB in my web platform application, it was suggested that I use the Web USB…
rxm
  • 71
  • 2
  • 11
0
votes
0 answers

Replacement for Chrome App that can embed websites with X-Frame-Options: DENY?

I have a desktop Chrome App that acts as a dashboard, and simply embeds 4 sites in webviews. Unfortunately Chrome Apps are deprecated so I'm wondering what I can use instead. I was looking into Progressive Web Apps but it necessitates iframes, which…
0
votes
1 answer

Pass a value from google app script to my chrome extension

I am a 'Chrome for Business and Education' admin for a group of chromebooks which I have configured to run in Single App Kiosk mode. The kiosk app in question is really simple. All I did was take the example code from this link…
0
votes
0 answers

Import Script Into Every Website The User Visits. (Chrome Extension)

I was wondering if I could inject an external js file into every website a user visits with a chrome extension. I am very new to this so I haven't tried so far I just need the manifest file background.js and other things required. I also want the…
0
votes
2 answers

Why my HTML and JavaScript button are not working together?

Hey I am new to coding and I'm working on a new chrome App. So far, I am trying to make a button that counts when you click on it. For some reason it's not working. Here's the HTML: var button = document.getElementById("button"), count = 0; …
user13533101
0
votes
0 answers

How to debug chrome extension at such part of code?

The code below is the JavaScript file works with popup.html from a small project. I use it for chrome extension development learning. The first part of this code piece is getting two variable from chrome storage, let's call it part1. The second part…
1 2 3
99
100