allowing javascript with url.txt

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
KungFuActionJesus
Observer
Observer
Posts: 5
Joined: Sat Nov 04, 2006 3:11 pm
Location: Farmington Community Library, Michigan

allowing javascript with url.txt

Post by KungFuActionJesus »

I work at a Library, and I have set up a test machine that I was trying to use to allow access to only our online databases and a few externally linked-to sites. I have figured out use of the URL.txt,

-all
+site1
+site2 .... etc.

but when I try to click on a link that uses javascript to open a new window, It gave me the not allowed message, as if the URL wasn't on the list. I attempted to fix this with a wildcard character by putting in

+javascript*

This fixed one of these instances, but there are still other links that begin with 'javascript' that won't open despite this added line... is there any way I can allow javascript to open up windows using this URL list? or any other way that the URL list would not conflict with?

...The site that the javascript link intends to open IS allowed in my URL.txt... so I'm stumped.

Any help is appreciated!
Thanks!
Mike
Last edited by KungFuActionJesus on Sat Nov 04, 2006 3:42 pm, edited 1 time in total.

KungFuActionJesus
Observer
Observer
Posts: 5
Joined: Sat Nov 04, 2006 3:11 pm
Location: Farmington Community Library, Michigan

Post by KungFuActionJesus »

after reading another post I think it helps to mention that I am running the IP filter with '+all'... so that shouldn't be the problem I don't think.

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

Post by Scott »

Try adding the following.

+JavaScript
+About:Blank

Notice the "+JavaScript" does not have an "*" at the end.

See this thread for more information on the PWB filters.
http://teamsoftwaresolutions.com/phpBB2 ... c.php?t=13

--Scott

KungFuActionJesus
Observer
Observer
Posts: 5
Joined: Sat Nov 04, 2006 3:11 pm
Location: Farmington Community Library, Michigan

Post by KungFuActionJesus »

i'll give that a try... get back to you in a few

Post Reply