PDA

View Full Version : python firefox filter


xray
April 20th, 2006, 08:05 PM
Hi, I understand that Ubuntu is supposed to be easily scriptable using the Python programming language.

I'm wondering if it is easy to write a python program that filters the html before it gets to my web browser (firefox). I know firefox has various extensions and plugins, and I've looked at that a bit, but I would like to write a python program that acts directly on the incoming html. Any help is appreciated.

cleverselfreferentialname
April 20th, 2006, 08:34 PM
There's an application you can install called privoxy that can do such things. It doesn't have anything to do with python, but it is intended for such purposes. Documentation can be found at http://www.privoxy.org/

Cheers,
Paul