pioner

How can I hide ie7.0 address bar and leave tabs and navigation buttons

C++ method

IWebBrowser2::put_AddressBar(false)

Disable tabs, searchBar, ...


Re: Internet Explorer Extension Development IE 7.0 Address bar

IECUSTOMIZER

Hi Poineer,

I don't think you can, by design. Because the address bar now contains important anti-phishing and security gui components (phishing site warning and security icon are now displayed on the bar). You may now appreciate the intellegence in design that the IE7 dev team have applied to this component, dispite all the negative feedback regarding the toolbar customizability of IE7.

I have not tried this myself yet, but you could find the CLSID value for the Nav Bar in the registry (I don't want to publish that value) and then use the showbrowserbar method to hide it, though my thoughts as to why you would want to do this, is that it is intended to deceive the user.

If you are talking about the address bar that appears on popup windows, this is an optional Popup-blocker setting in Internet Options.

Actually I take that all back. The quero toolbar (http://www.quero.at) has an option to hide the navigation bar. My guess is that they use the showbrowserbar method to hide it.

Regards.






Re: Internet Explorer Extension Development IE 7.0 Address bar

Sudheer_CV

The above method works from the first tab, but not from second tab onwards in IE7.0.
Any idea




Re: Internet Explorer Extension Development IE 7.0 Address bar

IECUSTOMIZER

Hi Sudheer,

Thanks for the reply... now I know that will work. I am continually changing machines and spending less time on my own test machines to set up a test platform.(Though I think that once the MS guys know that we know the next upgrade may include countermeasures to exlude this method for this toolbar)

Anyway to make it work in a tabbed browser environment you will need to call the method from either a BHO or Toolbar addon (like the Quero toolbar does) as each tab has its own copy of the toolbar that it formats/renders from values in IE7ToolbarLayout registry value. There may also be a Group Policy setting to hide the Navaigation bar, but the last time I looked this had not been included in IEAK7. Also you may find that the NavBar will be visible when the user switches to full-screen or Kiosk mode. I am not sure how you can detect these window state changes from a BHO or Toolbar so that you can hide the NavBar.

Unlike IE6 I don't think IE7, uses a flag value in IE7ToolbarLayout to toggle the visibility of the NavigationBar as it is intended to be always visible to the user as an anti-phishing measure.

Regards.






Re: Internet Explorer Extension Development IE 7.0 Address bar

Haarlem

Hi, sorry I have an application and I show popup windows, but I have a problem, recently in IE7 when I show a popup, in ths is appearing the address bar (not editable). Please....... you know how hide this in popup windows

Thanks, regards

Eli






Re: Internet Explorer Extension Development IE 7.0 Address bar

John Sudds - MSFT

Remember, Internet Explorer 7 does not allow websites in the Internet zone to open windows without a visible address and status bar. As Rob (IECUSTOMIZER) said, the address bar contains important information for the user, namely which site has opened the window. If you don't wish to see the address bar in pop-up windows, you can adjust the security settings for the zone.

Setting: Allow websites to open windows without address or status bars.

Internet Default: Disable

Intranet Default: Enable






Re: Internet Explorer Extension Development IE 7.0 Address bar

Will

Yes but having the address bar causes issues for design....

I use OpenWindow javascript to display a full Image for a product. The window size is set to the dimensions of the Image that is going to display inside it. The window still displays to that size but because the address bar is present so about 12pixels is cut off the bottom of the image. I don't want to add 12pixels to the window size as I will screw up in EVERY other browser.

Addmittedly I could advise all users to add the site to their trusted sites list so that the address bar does not display but I as a developer should be able to control it. I appreciate the new need for it for security reasons....but why can't IE adjest the window size for the inner windw not including the address bar





Re: Internet Explorer Extension Development IE 7.0 Address bar

Will

And due to IE being different from other browers makes it hard to use JavaScript to control the window.innerHeight, document.body.clientHeight and document.documentElement.clientHeight methods to counteract this issue.





Re: Internet Explorer Extension Development IE 7.0 Address bar

IECUSTOMIZER

Hi,

You may want to look at different methods for opening popup type windows that will be cross-browser compliant. The MSDN gives examples of using the createPopupWindow method, but this will only work for MSIE browsers. I am currently looking at overlib.js (search for download site) and it looks a promising replacement though it needs to be updated for IE7.

Another thing to consider is your site's navigation design and if it is continually spawning new windows/tabs. IMHO a flat navigation structure that only uses the one window/tab to display content is the way to go as it will be essentially the same in both tabbed and non-tabbed browsers.

Regards.






Re: Internet Explorer Extension Development IE 7.0 Address bar

DeanShub

hi,
the "Allow websites to open windows without address or status bar"
only works for the specified security zone which i choose to customize...
i need something that will change it for all the zones plus
i need to remotely execute it so is there a registry i can change that will do the same