“Manifest.json ekstensi” Kode Jawaban

manifest.json

{
    "short_name": "HackTheStuff",
    "name": "HackTheStuff blogging platform",
    "icons": [
        {
            "src": "/images/icons-128.png",
            "type": "image/png",
            "sizes": "128x128"
        },
        {
            "src": "/images/icons-192.png",
            "type": "image/png",
            "sizes": "192x192"
        },
        {
            "src": "/images/icons-512.png",
            "type": "image/png",
            "sizes": "512x512"
        }
    ],
    "start_url": "/index.html",
    "background_color": "#3367D6",
    "display": "standalone",
    "scope": "/app/",
    "theme_color": "#3367D6"
}
Enchanting Eel

manifest.json

<link rel="manifest" href="/webmanifest.json" crossOrigin="use-credentials">
Enchanting Eel

Manifest.json ekstensi

{
//File name should be manifest.json
"manifest_version":3,
"name":"VScoder",
"version":"1.0",
"description":"It is a very nice app",
"displayName":"VSapp",
"author":[
"name":"VScoder"
],
"action":[
"default_popup":"Index.html",
"default_icon":"Icon.png"
],
"content_scripts":[{"js":["Script.js"],
                   "css":["Stylesheet.css"],
      "matches":["https://*/*"]}]
}
VScoder

Jawaban yang mirip dengan “Manifest.json ekstensi”

Pertanyaan yang mirip dengan “Manifest.json ekstensi”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya