“Manifest.json Extension” Ответ

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 Extension

{
//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

Ответы похожие на “Manifest.json Extension”

Вопросы похожие на “Manifest.json Extension”

Смотреть популярные ответы по языку

Смотреть другие языки программирования