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
-1
votes
1 answer

issue in filerobot-image-editor.min.js in manifeast file of my plugin says Refused to execute inline script because it violates the Content Security

full error is Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost:* http://127.0.0.1:*". i also tried to modify…
-1
votes
1 answer

Error converting Chrome extension from Manifest V2 to V3

converting a Chrome extension from V2 to V3 - I've added the line: "content_security_policy": { "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self' 'wasm-unsafe-eval'" }, When running the extension, I get the…
Mark Tait
  • 545
  • 3
  • 12
  • 22
-1
votes
1 answer

chrome.runtime.getURL() unable to inject javascript file into my webpage for manifest V3

Background: I'm making a chrome extension, and I must migrate it to MV3. I modified my manifest.json file to include web resources, but when I go to inject my resource from my content script using chrome.runtime.getURL, it says it can't find my…
-1
votes
1 answer

service worker doesn't seem to work for Chrome extension

I'm following this tutorial about creating a popup demo Chrome extension. I literally copied all the codes in correct files inside correct paths but the code in background.js doesn't seem to work. I got the HTML mini page when I clicked on the…
-1
votes
1 answer

Accessing user disk storage in chrome extension

I am building a chrome extension, I want to read and write in the user's disk storage. I want to make folders in users' documents, store screenshots, and delete and read. Is it possible? I have searched, but could not find a way to do this, I want…
-1
votes
1 answer

What does 23:16 refer to with error "manifest.json:23:16: duplicate key"

I tried uploading a zip file of my first Chrome extension in my Chrome Developer console. The extension works great locally on my Chrome browser in developer mode, so I thought all I had to do was zip it and upload it to the developer console. But I…
Jago
  • 75
  • 6
-1
votes
1 answer

Chrome Extension TypeError

I want to add a button red highlighted place on YouTube. But it doesn't work. manifest.json { "name": "Example", "version": "0.0", "manifest_version": 2, "content_scripts": [ { "js": ["content.js"], "matches":…
-1
votes
1 answer

How to modify the DOM of a tab created through a Chrome extension

I want to create a new tab and modify the DOM inside a Chrome Extension's background.js with manifest V3: chrome.tabs.create({ url : 'http://example.com'},function(newTab) { document.body.innerHTML = "Example.com website content modified in…
-1
votes
1 answer

SAPUI5 Problem with rootUri in Mock Sever

Thanks a lot to all of you, my friends for your help and advices. Guys, I think I solved the problem, almost. Just need your help with this moment: My Table get data from mock server, but doesn't show it to user. Instead of the rows it shows an…
dkolodin
  • 23
  • 7
-1
votes
1 answer

manifest.json commands curly brace closing problem

I have my manifest.json file that is not loading. It was loading before this, but as soon as I add the shortcut Shift + A in the commands section, it stops working: Don't know what mistake I'm making. Any help would be appreciated.
-2
votes
1 answer

Manifest is not valid JSON. Line: 21, column: 1, Syntax error. Could not load manifest.?

{ "name": "Extension", "version": "2.0.0", "manifest_version": 4, "description": "This is a Test.", "homepage_url": "https://example.com", "icons": { "16": "icons/16.png", "48": "icons/48.png", "128":…
-3
votes
1 answer

How to access chrome extension local storage data from content scripts?

I'm building a chrome extension to autologin to a website. My plane is like this. Get Username and Password(Done). popup Store in Local Storage(I'm using extension local storage)(Done). After that, when I go to the login page(website login page),…
-3
votes
1 answer

Is there a way to get local storage object in manifest.json?

I have a question. I have a requirement which needs to get something from local storage and set it as short name in manifest.json. I am building a progressive web app and it is vital to have manifest.json to configure its settings. Do you have any…
bEtTy Barnes
  • 195
  • 1
  • 2
  • 10
-3
votes
1 answer

How to add jQuery to an external JavaScript file for building a Chrome Extension?

I am learning JavaScript and I am planning to make a Chrome extension. I am making an Age Calculator. I have developed some code. I am stuck at how to use jQuery in an external JavaScript File? if (ageYears > 0) { document.write(ageYears +"…
1 2 3
36
37