• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Upload addons for Opera addons store

    Opera add-ons
    2
    2
    379
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pintawebware
      pintawebware last edited by

      Hello guys! Please help. I don't know, why failed to install extention.

      I have message: manifest.json is invalid. Please correct it and try uploading again. The parser reported: {} is not of type 'string

      My manifest.json

      {
        "manifest_version": 3,
        "name": "Extention",
        "description": "Extention",
        "version": "0.0.1",
        "content_scripts": [
            {
              "matches": [
                "https://*/*",
                "http://*/*"
              ],
              "js": ["content_script.js"],
              "run_at": "document_idle"
            }
          ],
          "content_security_policy": {
          },
          "background": {
              "service_worker": "background.js"
          },
          "action": {
            "default_title": "Extention",
            "default_popup": "popup-signIn.html"
          },
          "icons": {
            "16": "icon16.png",
            "32": "icon32.png",
            "48": "icon48.png",
            "128": "icon128.png"
          },
          "permissions": [
            "storage",
            "contextMenus",
            "notifications",
            "tabs"
          ],
          "host_permissions": [
            "https://google.com/",
            "*://*/*"
          ]
      }
      

      What I need to do? Thanks for answer)

      Reply Quote 0
        sgunhouse 1 Reply Last reply
      • sgunhouse
        sgunhouse Moderator Volunteer @pintawebware last edited by

        @pintawebware Well, as I on!y see one empty set of braces there, I'd guess you need to do something with your security policy.

        Reply Quote 1
          1 Reply Last reply
        • First post
          Last post

        Computer browsers

        • Opera for Windows
        • Opera for Mac
        • Opera for Linux
        • Opera beta version
        • Opera USB

        Mobile browsers

        • Opera for Android
        • Opera Mini
        • Opera Touch
        • Opera for basic phones

        • Add-ons
        • Opera account
        • Wallpapers
        • Opera Ads

        • Help & support
        • Opera blogs
        • Opera forums
        • Dev.Opera

        • Security
        • Privacy
        • Cookies Policy
        • EULA
        • Terms of Service

        • About Opera
        • Press info
        • Jobs
        • Investors
        • Become a partner
        • Contact us

        Follow Opera

        • Opera - Facebook
        • Opera - Twitter
        • Opera - YouTube
        • Opera - LinkedIn
        • Opera - Instagram

        © Opera Software 1995-