• 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

    warnings on addon upload

    Opera add-ons
    2
    8
    2168
    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.
    • A Former User
      A Former User last edited by

      I'm getting warnings that Opera://favicon permission (also chrome://favicon/) is not needed
      but if I remove it, My extension is not able to show favicons.

      also "clipboardWrite", "clipboardRead"...
      while developing extension I didn't use it...and it was working fine but when uploading to addons page I had to add it

      Reply Quote 0
        1 Reply Last reply
      • A Former User
        A Former User last edited by

        also I removed unlimitedstorage...
        and now I think I shouldn't... 😕

        Reply Quote 0
          1 Reply Last reply
        • for_d
          for_d last edited by

          unlimitedStorage is a known problem, on its way to be fixed. If you want to have it, you should include the permission and ignore the warning.

          opera:favicon: You can ignore this warning. We'll look into fixing it.

          clipboardRead/Write: You say: "I had to add it". Does that mean that it causes an error rather than a warning for you? If it causes a warning, you can ignore it. We'll look into fixing it.

          Reply Quote 0
            1 Reply Last reply
          • for_d
            for_d last edited by

            Did some more research on clipboardRead and clipboardWrite.

            clipboardWrite is optional to declare, but addons.opera.com actually requires it if you use document.execCommand('copy') or document.execCommand('cut'). We could change this, but I'm thinking we want to expose more permission information to the user, not less.

            clipboardRead is required if you use document.execCommand('paste'), but we seem to also require it if you use 'copy', which seems to be wrong.

            Reply Quote 0
              1 Reply Last reply
            • A Former User
              A Former User last edited by

              clipboardRead/Write: You say: "I had to add it". Does that mean that it causes an error rather than a warning for you? If it causes a warning, you can ignore it. We'll look into fixing it.

              No, I was confused on first upload, thought warnings were legit, so i add it...but later I removed permission and upload it (with warnings)
              I also added on second upload necessary permissions that i removed after first attempt (again, because of false warnings)

              Reply Quote 0
                1 Reply Last reply
              • A Former User
                A Former User last edited by

                Did some more research on clipboardRead and clipboardWrite.
                clipboardWrite is optional to declare, but addons.opera.com actually requires it if you use document.execCommand('copy') or document.execCommand('cut'). We could change this, but I'm thinking we want to expose more permission information to the user, not less.
                clipboardRead is required if you use document.execCommand('paste'), but we seem to also require it if you use 'copy', which seems to be wrong.

                sry, did't saw your second post, maybe forum had some "hiccups"...
                I'm using my notes extensions without any of clipboardRead/Write permissions and document.execCommand('copy'); works fine in dev 29
                so what would be the right way,
                adding permission even if it's not necessary for work or ignoring warning upon upload?

                Reply Quote 0
                  1 Reply Last reply
                • for_d
                  for_d last edited by

                  You should declare clipboardWrite, even though the extension works without it. The docs states that declaring it is optional for regular extensions, but that it is recommended to do so regardless. This way you inform your users more clearly what your extension does.

                  Reply Quote 0
                    1 Reply Last reply
                  • A Former User
                    A Former User last edited by

                    ok

                    Reply Quote 0
                      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-