pattern based on words in text file?address

: Function ereg_replace() is deprecated in /mozdev/sandbox/php/include/globals.h on line 95.

hi
i live in iran and here they filter internet very restrictly
they filter internet  based on three class
1 ip address
2 websites names(maybe same as ip address)
3 words in url
i can bypass this filter with proxy with help of foxyproxy(thanks btw for this great addon)
my questiion is how do i tell foxyproxy to use a proxy on sites that are not filtered normaly but get filtered when there is a "bad" word in urls?
like imdb is not filtered but when i enter http://www.imdb.com/find?q=Sesso it filteres it ( i dont know why they have problem with this word ) this happens a lot espesially when using search part of sites

Based on the contents of

Based on the contents of http://www.imdb.com/find?q=Sesso, I'm guessing they're filtering by content, not by URL. In other words, http://www.imdb.com/find?q=Sesso contains lots of references to "sex" but the URL itself seems innocuous.

I would suggest the best way to do what you want (automatically re-load pages through a proxy when they are blocked) is with FoxyProxy's AutoAdd feature. It is designed for precisely that. However, it can slow down browsing of very complex web sites.... (not IMDB but more like Google Docs, for example)

Is there a standard message or URL that is displayed when a page is blocked?

Eric

thanks for your answers but

thanks for your answers but no its not content based(i am almost 99% sure)
what i meant was to say that whenever there is a word in url that is considered bad (you know like sex related words or political words) that url gets filtered
what i am asking is that is there a way to NOT add the whole sites to proxy list and NOT adding specific urls to proxy list.cause that's just tedious and in search sites almost impossible.
let me explain better
if i use google search and search for word sex the result page is filtered.
http://www.google.com/search?client=ubuntu&channel=fs&q=sex&ie=utf-8&oe=...
so if i use a different option in goolge search i get a different page that is also filtered
now imagine all the bad words (in Iranian government mind i mean :)) ) and then multiply it over search site used( torrent sites ,music info sites, movie info sites,news sites and so on) and you get the picture.
i know about autoadd feature and yes it show almost same page for any denied page but i rather not use that( for reasons other that adding a huge list of web-address that are not normally filtered but because of a word i searched they get filtered. one reason is that i use noscript addon and when i try a blocked site i see that from that government ip tries to access my local files :( i dont know what it is doing but i don't trust them a bit( they are too fu.... up) so i tried to block that ip (they are not that smart and they use the same ip 10.10.34.34)) .
 
so you get the picture i hope.
 
now what i need is a proxy pattern this activated when a url has a bad word in it and temporarily loads that url from a proxy (and not add it to the list cause that would make the list way too big and stupid)

 
 

If you check the "Temporary"

If you check the "Temporary" checkbox, then the pattern will be added but not permanently. When you close Firefox, all temporary patterns disappear. However, AutoAdd recognizes words on pages (content), not in URLs. So if I made temporary patterns for URLs, that would work for you? Eric
See "Temporary" checkbox here:

http://img688.imageshack.us/img688/2535/screenshotto.png

sorry for long absence

sorry for long absence .

what would be good (especially for iranian users )is the ability to load a text file with the banned words that proxy needs to be used on the urls that have that in them .
i know its not the purpose of this addon to be used for Iranian filtered internet,but if you decide to add some thing like that , we will be for ever in you debt.
if you decide to do so , i can help for testing or anything like that.
just a suggestion:
this word based filtering is based upon words occurring in certain way. like http://*******.org/search/sex/0/99/0
this would be filtered but http://*******.org/search/sex1/0/99/0 this wont be filtered.
if you have any question you can ask me. again that is if you ever decide to do something like this.

btw is there any standalone application that can be used as a proxy for other apps , that has the foxyproxy features?
i dont mean a proxy that proving internet (like your-freedom ,ultrasurf. or,....) but an app that can be used as a proxy for other apps and that proxy-app can decide to use other inernet-providing-proxies(ultrasurf...) for accessing filtered sites based on urls requested.in a word a standalone foxyproxy to use for other apps?

Hi, Thanks for writing

Hi,

Thanks for writing again. I would gladly add this to FoxyProxy for Iranian users. I know very well about the censorship there, and I would like to help any way I can.

Can you please write me directly at eric dot jung at yahoo dot com? Please include the URL of this message so I know the reference. If you can test, I can write it.

Eric Jung