JSI Tip 9532. How can I control if an Information Bar message is displayed when a popup is blocked?
July 6, 2005
Service Pack 2 (SP2) for Windows XP displays the Information Bar on Internet Explorer when a potentially dangerous actions on a Web page have been blocked.
To control whether an Information Bar message is displayed when a popup is blocked, use the UseSecBand Value Name, a REG_DWORD data type, at HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerNew Windows. Setting the data value to 0 will NOT display a message, but setting the data value to 1 will display a message.
You can use Regedit.exe to set the data value 0, or you can:
1. Open a CMD.EXE window.
2. Type the following command and press Enter:
REG ADD "HKCUSoftwareMicrosoftInternet ExplorerNew Windows" /V UseSecBand /T REG_DWORD /F /D 0
Other Value Names, of REG_DWORD data types, associated with popup messages are:
PlaySound - A data value of 1 plays a sound when a popup is blocked. A data value of 0 disables the sound.BlockUserInit - A data value of 1 blocks popups initiated by a user action, like pressing a link. A data value of 0 allows these.AllowHTTPS - A data value of 1 allows popups over HTTPS, while a 0 treats them the same as other popups.UseTimerMethod - A data value of 1 causes a timer to detect user-initiated asynchronous popups.UserInitTimeout - If UseTimerMethod is set to 1, enter the number of milliseconds allowed between a user action and the appearance of the popup.
NOTE: See How can I control the 'Did you notice the Information Bar' dialog?
About the Author
You May Also Like