Disabling close buttons
Moderators: Tyler, Scott, PWB v2 Moderator
Disabling close buttons
We are using PWB on our OPACs and have it set up so that users cannot close it down (we are using DisableCloseButton=True). However, some pages (for instance, Syndetics windows) have their own close button. If a user clicks this close button they get a dialog box that says "The web page you are viewing is trying to close the window. Do you want to close the window?" If the user says Yes then it closes down PWB, which is not what we want. Is there some way to disable these types of close buttons? Thanks.
Set the following setting in the INI file to prevent PWB from closing.
[Browser]
...
DisableExit=True
...
You may also want to take a look at [Security] Restart on Close. This setting will restart PWB when it is closed. If you allow your patrons to close PWB with Clear Cache on Close set to true, each patron will receive a "new" browser each time PWB is closed.
--Scott
[Browser]
...
DisableExit=True
...
You may also want to take a look at [Security] Restart on Close. This setting will restart PWB when it is closed. If you allow your patrons to close PWB with Clear Cache on Close set to true, each patron will receive a "new" browser each time PWB is closed.
--Scott
Re: Disabling close buttons
The DisableExit=True setting is exactly what I needed. Thanks - bgj