• 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

    I can not open popup windows.

    Opera for computers
    1
    1
    879
    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 want to open a popup so I can authenticate myself.
      I am using chrome.identity.launchWebAuthFlow. I understand that Opera supports it.

      In addition, having the pop-up windows activated or deactivated has to work the same.

      Since I had it deactivated and other apps, it was the same for me.

      The question that opens and closes, does not last a second.

      I have the same code and I try it on le edge and it works perfectly.

      chrome.runtime.onMessage.addListener(
          function(request, sender, sendResponse){
              if( request.message === "login"){
                  chrome.identity.launchWebAuthFlow({
                          "url" : authUrl,
                          "interactive" : true
                      },
                      function(redirect_url){
                          console.log(redirect_url)
                  });
              }
              setTimeout(function() {
                  sendResponse({status: true});
              }, 1);
              return true;
          }
      );
      
      Reply Quote 0
        1 Reply Last reply
      • Locked by  leocg leocg 
      • 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-