Force PWB to restart when loading a particular URL?

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
sglet
Observer
Observer
Posts: 2
Joined: Thu Feb 07, 2008 11:02 am

Force PWB to restart when loading a particular URL?

Post by sglet »

Is there any way to force PWB to restart if it's asked to load particular URL? Let's say

-cnn.co_m

is in my url.txt file, and a user tries to access cnn.co_m. Is there any way for me to invoke the "Restart" command at that point? I know I can use AccessURLRedirect to move away from that page, but I'm looking for something more.

sglet
Observer
Observer
Posts: 2
Joined: Thu Feb 07, 2008 11:02 am

NEVER MIND

Post by sglet »

Man, this always happens to me after I post on a messageboard...I figured it out. I just needed to use the JavaExit command. D'oh.

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Using PWB v2.10.3 you could also use the new execute filter.
Added:
[Files] ExecuteOnDenyAccess=
Executes application with URL (%1), and access string (%2) as arguments.
[Files] ExecuteFilterFile=
Filter file for CheckExecuteAccess execute on deny access.
Please note, this feature will not be officially included until PWB v2.11.

--Scott

Post Reply