0
var myWindow = window.open("","myWindow","ttilebar=no,location=no,status=no,menubar=no,width=306,height=325,margin-top:0px,margin-left=0px,left="+left+"px, top="+top+"px,toolbar=no, scrollbars=no, resizable=no");
    myWindow.document.write('<iframe style="width:306px;height:342px;" id="CCBox"'
            + 'class="ifti1" src="http://localhost:8089/clientChatbox?user='
            + encodeURI(JSON.stringify(user))
            + '"frameborder="0" '
            + '></iframe>');

I want to open it in with no title and no address bar.

Shubham
  • 1,755
  • 3
  • 17
  • 33

2 Answers2

1

Because of security issue, this may not be possible now in all modern browsers. Look at below urls for more details:

Hiding address bar in all browsers

Open new popup window without address bars in firefox & IE

Community
  • 1
  • 1
Yogendra
  • 2,139
  • 3
  • 14
  • 27
0

Courtesy: Comment from Stackoverflow

It's different in every browser.

Some years ago, what you tried, was right. But nowadays it is regarded as a security risk that one cannot see the browsers address bar and (for phishing reasons) and so they (or most of them) made the decision to always show the browser address bar.

Community
  • 1
  • 1
Ritesh Kashyap
  • 364
  • 1
  • 16
  • i just want to open it in IE . Is there any way to do it?? – Shubham Jun 29 '15 at 11:43
  • Way 1: In internet explorer, if the new url is from the same domain as the current url, the window will be open without an address bar. Otherwise, it will cause an address bar to appear. One workaround is to open a page from the same domain and then redirect from that page. Way2: Open a modal popup window and embed the external URL as an iframe. – Ritesh Kashyap Jun 30 '15 at 03:53
  • that's what i am doing. opening a popup window and then embedding the iframe . But it is not working. Address bar is still there. – Shubham Jun 30 '15 at 04:55