Questions tagged [manifest.json]

The `manifest.json` file is a JSON -formatted file that give you the ability to control your application and is the only file that every WebExtension must contain.

Every extension has a JSON-formatted manifest file, named manifest.json, that provides important information like :

  • Version
  • Name
  • Description
  • Default locale
  • Icons
  • Developer
  • Type ...
555 questions
5
votes
8 answers

Angular 7 PWA - Manifest fetch failed (status: 404) at Driver

After deploy my angular 7 project (PWA) got this error. any solution? Uncaught (in promise) Error: Manifest fetch failed! (status: 404) at Driver. (ngsw-worker.js:2368) at Generator.next () at fulfilled (ngsw-worker.js:1780)
Karthikeyan Vellingiri
  • 1,270
  • 1
  • 17
  • 26
5
votes
1 answer

Refused to frame 'https://api.xxx.jp/' because it violates the following Content Security Policy directive: "frame-src 'self'

Here we go: I am new to google's chrome extension development, so please bear with me. I have an extension which is giving me the following error: Refused to frame 'https://api.xxx.jp/' because it violates the following Content Security Policy…
5
votes
1 answer

Multiple values for the 'scope' property in a manifest.json file.

I am working on an existing application with legacy code base. While I would love to see the entire app converted to a PWA some day, for now my plan is one page (one url) at a time. For this, I know that the "scope" property is going to be my best…
Prakash Tiwari
  • 2,351
  • 1
  • 20
  • 13
5
votes
1 answer

Progressive Web App in Chrome Custom Tab

I am building a Progressive Web App. When I open it in the Chrome browser, I correctly see the "add to home screen" option come up in a bottom sheet. However, when I open my app in a Chrome Custom tab, the "add to home screen" bottom sheet is not…
4
votes
2 answers

Firefox extension Manifest v3 - request permission to "access your data for all websites" at runtime

Can a Manifest v3 Firefox extension request the "Access your data for all websites" permission from the user at runtime? This option is usually managed in the firefox about:addons built-in page: Some features of my extension require this permission…
4
votes
1 answer

How can I use JQuery in my Google Chrome extension with Manifest 3?

I am trying to figure out how I can use JQuery in my background.js for Google Chrome extension development for Manifest 3. All of the other answers I have found are for Manifest 2. Thank you in advance for the help.
4
votes
1 answer

Content Security Policy in manifest v3

Refused to load the script 'https://sbfse.com/analytics.js' because it violates the following Content Security Policy directive: "script-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback. I got…
4
votes
1 answer

Migrating Extension to Manifest v3

I want to Migrate My Chrome extension from manifest version 2 to version 3 because in near future Google will remove MV2 extension from their store. For now My extension Manifest code is like this. { "browser_action": { "default_icon":…
Imran Murtaza
  • 151
  • 1
  • 3
  • 11
4
votes
0 answers

Content Security Policy in Manifest Version 3 for Chrome Extension

I am having trouble migrating my chrome extension from MV2 to MV3. I read through the docs and still don't understand the Content Security Policy aspect of it. I want to migrate this piece of the manifest.json file: "content_security_policy":…
4
votes
0 answers

Use the gif image in the manifest file icons

I am developing an application using reactjs. I want to use a gif instead of a png image when the user opens the program via shourtcut. I have also defined the manifest file as follows, but instead of an animated image, a fix image is displayed. Is…
4
votes
1 answer

How do you access a file mapped in manifest.json in an html file?

So I have a generated manifest file as follows, { "0.0eaa8ffc6b248ee016ed.bundle.js": "test/public/dist/0.0eaa8ffc6b248ee016ed.bundle.js", "1.7e194c6ac39e9447bead.bundle.js": "test/public/dist/1.7e194c6ac39e9447bead.bundle.js", …
4
votes
1 answer

How to create custom google chrome extension for new window And keep focus the new window in alternative click of extension

I want to create a new custom chrome extension to open a web URL or custom page in new window.
Nayana Chandran
  • 1,416
  • 1
  • 16
  • 30
4
votes
2 answers

Where can you find or how can you create a chrome extension key and place it in your manifest.json file?

Looking to implement Oauth2 in my Chrome extension I have been researching how to implement oauth2 on a chrome extension. I have been stuck for quite some time. I eventually got information to use chrome.identity in my background.ts file. Here is my…
jwize
  • 4,230
  • 1
  • 33
  • 51
4
votes
1 answer

My node.js web app don't recognize my manifest.json

I am building a web application with node.js, express.js and handlebars. I have the web app working and now I want to turn it into a PWA, so I wrote the manifest.json like this: { "name": "Talleres Online", "short_name": "Talleres Online", …
4
votes
0 answers

Clicking on input element changes Installed Web App from "Standalone" to "Minimal-UI"

{ "short_name": "My App", "name": "My Application", "background_color": "#ff9800", "theme_color": "#ff9800", "icons": [ { "src": "launcher-256x256-icon.png", "sizes": "256x256", "type": "image/png" }, { …
Jack
  • 5,680
  • 10
  • 49
  • 74