Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 14th, 2004, 06:09 AM
Registered User
Join Date: Jan 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default disable browser toolbar onLoad

I know that I can hide the browser toolbar in a popup window but is there something that lets me do that in the parent window? I cannot trigger it via a link to this page. I need to trigger it when this page is loaded so it'd be great if there's a code like <body onload="window toolbar=no"> to do the magic... or ANY way to get round to achieving this effect.
Old January 14th, 2004, 11:45 AM
joefawcett's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

Virtually impossible unless client security is set to very low. The alternative is to open a new window as you wish and close the opener by calling:
window.opener = self;
from the original window.
Beware, this hack doesn't always work and is scheduled to be fixed as a security flaw in future versions.



Similar Threads
Thread Thread Starter Forum Replies Last Post
disable browser right click?? danielnixon HTML Code Clinic 1 May 19th, 2008 12:11 PM
Disable browser F5 Key arif007khan Javascript How-To 10 September 22nd, 2007 03:22 AM
Browser Size and Toolbar settings wirerider ASP.NET 2.0 Basics 1 January 25th, 2006 03:08 PM
Browser Toolbar Print Button TSEROOGY Javascript 11 December 17th, 2004 01:04 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.