To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 1750
1749  |  1751
Subject: 
Fun with squirm
Newsgroups: 
lugnet.off-topic.geek
Date: 
Tue, 20 Jun 2000 18:20:10 GMT
Reply-To: 
mattdm@mattdm.org*spamcake*
Viewed: 
3340 times
  
I'm using the squirm redirector together with squid to block banner ads.

Netscape Navigator for Unix tries to load any URL which you paste into the
browser window. So, select a URL, then middle-click on your browser window,
and poof, you're there.

So, I added this to my squirm patterns:

  regexi http://([0-9]*)/$ http://jadzia.bu.edu/~mattdm/cgi/lugredir.cgi?\1

The cgi is simply:

  #!/bin/sh
  echo -ne "Location: http://www.lugnet.com/pause/search/?query=$1\n\n"


So now, I can just select a set number, and paste it into netscape, and I
get the set info from LUGnet. (Or I can just type a number into the location
bar.)



--
Matthew Miller                     --->                 mattdm@mattdm.org
Quotes 'R' Us                    --->              http://quotes-r-us.org/
Boston University Linux            --->               http://linux.bu.edu/



Message has 1 Reply:
  Re: Fun with squirm
 
(...) Hey, that's pretty cool! (I'm not using squirm but I can imagine how it works from your description.) What happens if you do this?-- regexi (2 URLs) #!/bin/sh echo -ne "Location: (URL) type in, say, ^7121 --Todd (24 years ago, 20-Jun-00, to lugnet.off-topic.geek)

4 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR