Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

hide bar address in popup ( chrome ) [duplicate]

I'm looking for this, but I don't find the solution.

I'm opening a popup using:

window.open(url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, copyhistory=no, width=w, height=h, top=top, left=left');

All is ok, but it doesn't work, at least in chrome, and I need it working. I found solutions like location=no (but it doesn't work) and use jquery-ui or others libraries...but I need with pure javascript...

Anyone know about this?

EDIT

After this, I'd need hide buttons of maximize and minimize. Thanks in advance for any help.

EDIT 2

And what about minimize and maximize buttons? Is possible delete them in a popup?

Thanks very much, Daniel

like image 630
Daniel Garcia Sanchez Avatar asked Mar 05 '13 17:03

Daniel Garcia Sanchez


People also ask

How do I hide the address bar in Chrome pop up?

var winFeature = 'location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes'; window. open('Result. html','null',winFeature); In many solutions, just the location=no attribute can hide the address bar (in both IE & Chrome).

How do I hide the navigation bar in Chrome?

Step 1: Type about:flags in the Chrome address bar and hit Enter. Step 2: Scroll down the list until you see Compact Navigation. Step 3: Enable Compact Navigation and let Chrome restart to access the feature. Step 4: Once the Chrome opens, right-click one of the tabs and then select Hide the toolbar.

How do I hide a URL in Chrome?

Switch to full-screen mode Another simple way to hide the URL bar in Chrome is to go full-screen by pressing F11 or Fn + F11 , depending on whether the Function (Fn) key is locked or unlocked. Remember that this method will hide the tabs as well and only open the current tab in full-screen mode.

Can I hide URL in address bar?

No you can't. Imagine spoofing https://yourbank.com/ instead of http://fakesite.com/ . The only way to see a different URL is to proxy the response, or putting it in a frame. The only way to "hide" your URL would be to use frames.


1 Answers

Most browsers do not allow you to hide the address of the page anymore. This is for safety reasons, otherwise a phishing site could be placed in front of you and you would have no idea.

like image 68
Niet the Dark Absol Avatar answered Nov 15 '22 18:11

Niet the Dark Absol