Popup blocker
From Best Toolbars
Q: How can I reset pop-up blocker counter?
A: There is a dedicated command <CLEARCOUNT> designed for this purpose. <COMMANDS> <CLEARCOUNT name="clearcount"/> </COMMANDS> You can assign a menu item or button with this command. <BUTTON id="bt_id" caption="Clear pop-up blocker cound" img="4" command="clearcount"/>
Q: Is there an easy way to the pop-up blocker to work exactly as pop-up blocker in Google toolbar?
A: To achieve this, please do the following: 1) Add the following commands in between <COMMANDS> </COMMANDS> <BLOCKPOPUPS name="blockPopups" default="1"/> <ALLOWPOPUPS name="popupAllow"/> The first tells that the pop-up blocking is on by default the second command tells that the command named "popupAllow" will be used to add the current site to the white list. 2) Please associate the menu item or button with this command like below: <BUTTON caption="Allow Popups for this site" captionp="pop-ups are allowed for this site" hint="" id="tb_btn_V" img="83" imgp="84" command="popupAllow"/> When pressing on that button the pop-ups will be allowed for that site and the site itself will be added to the white list. If the site is already in the white list clicking on that button will remove it. Also you can add some of the sites into the white list by default: (achieved using the below lines instead of <ALLOWPOPUPS name="popupAllow"/> <ALLOWPOPUPS name="popupAllow"> <SITE>aimexpress.aol.com</SITE> <SITE>www.aimexpress.aol.com</SITE> <SITE>www.aim.com</SITE> <SITE>webmail.aol.com</SITE> <SITE>www.webmail.aol.com</SITE> </ALLOWPOPUPS>
Q: How can I indicate pop-up blocking by changing the button icon?
A: There is a BUTTON attribute imgf, which sets the icon that will appear on the pop-up blocker button while pop-up window is blocked: <BUTTON img="8" imgf="9" imgp="10" caption="Popups Allowed" captionp="#cnt# blocked" id="tb_block" command="block"/>

