• 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

    opr.sidebarAction bg script?

    Opera add-ons
    3
    5
    1803
    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 see that there is no background script for sidebar extensions.
      Is that mean that script(s) called from main html will have all (direct) access to Chrome/Opera APIs just like they are executing in bg page?
      tabs, storage, chrome://favicon/, downloads...etc

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

        The APIs will be available for sidebar scripts just like for browser/page action pages, although no active tab permission will be granted. Also currently (this is still being designed and discussed) sidebar action pages are similar to browser/page action popups in the sense that they are loaded when the panel is shown and closed together with panel. The extension can have the background script and panel page interacting with each other and must have the required permissions to use specified APIs.

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

          ok tnx
          Is there going to be limitation in the way that, sidebar extension can't have browser action or page action icon?
          in other words, can SB extension have toolbar or omnibar icon? (I guess not both, but at least one of them)

          edit: actually, SB icon is probably counted as browser action...
          so I guess that will also block any page action icons...

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

            Yes, it can. You can have a sidebar action with a browser action too.

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

              tnx, that's great

              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-2025