Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8263831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:14:13+00:00 2026-06-08T04:14:13+00:00

I have a chrome extension and its popup.html has a link to a oauth/openid

  • 0

I have a chrome extension and its popup.html has a link to a oauth/openid login page. To be exact to a page like this

I need this login page to be opened in a popup browser window with only an address bar. There should not be any other tool/menu bars. I tried window.open chrome.windows.create and window.showModalDialog methods.

All of them create a popup tab the way I wanted but none shows the address bar no matter what. When the popup.html is directly browsed via the browser, it shows the address bar, when the link is clicked. But not when the popup is loaded through the extension.

Since this page shows an oauth/openid login page, it is absolutely imperative that the user sees the address of the current page shown in the popup. No one would supply their facebook/google credentials to a page that does not have the address bar.

Any help is really appriciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:14:16+00:00Added an answer on June 8, 2026 at 4:14 am

    I had a look around and it seems this is a known bug….
    http://code.google.com/p/chromium/issues/detail?id=108875&q=popup%20bar&colspec=ID%20Pri%20Mstone%20ReleaseBlock%20OS%20Area%20Feature%20Status%20Owner%20Summary
    You should star that for future updates and I think you should probably comment on your situation aswell.

    The only way you could get the popup you want from your extensions code is to open a tab, get it to open the popup and then close the tab…..far from ideal.
    But incase thats good enough for you here’s some sample code….

    manifest.json

    {
      "name": "Popup with adresse bar",
      "version": "1.0",
      "permissions": [
        "tabs", "<all_urls>"
      ],
      "browser_action": {
          "default_title": "Popup with adresse bar.",
          "default_icon": "icon.png",
          "default_popup": "popup.html"
      },
      "manifest_version" : 2
    }
    

    popup.html

    <!doctype html>
    <html>
      <head>
        <script src="popup.js"></script>
      </head>
      <body>
        <a id='clicky' href='#'>clicky</a>
      </body>
    </html>
    

    popup.js

    clicky = function() {
        chrome.tabs.create({
            url: 'open.html#' + 'http://www.google.com',
            active: false
        });
    }
    onload = function() {
        document.querySelector('#clicky').onclick = clicky;
    }
    window.onload = onload;
    

    open.html

    <script src='open.js'></script>
    

    open.js

    window.close();
    window.open(window.location.hash.substr(1), '…', '…');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a chrome extension which have a server-side javascript and I need this
I am making a Google Chrome extension and I would like to have my
I have this Chrome extension that modifies the header of requests before sending them.
I have a chrome extension that uses the facebook Graph API Because its a
I'm writing a Chrome extension, in my background.html page, it is injecting a js
I have a chrome extension (not App),Its a mashup of data from free third
I have a Chrome extension which is injecting some code into a web page
I just added an extension named Chrome History X , but its supposed-to-have icon
I have a chrome extension that adds a custom button beside the like button
I have a chrome extension which makes some changes on the site (editing comments).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.