Post Reply 
Google safe search
Oct. 25, 2006, 01:50 AM
Post: #1
Google safe search
Hi, is it possible to use BFilter to enforce google safe search ?

i.e.

if URL is something like

http://www.google.com.au/search?hl=en&q=...arch&meta=

(http://www.google.com and contains search?)

then append &safe=on to end of url

We are looking to implement this at our school.

I have not used Regular Expressions before.

Thanks
Add Thank You Quote this message in a reply
Oct. 25, 2006, 09:41 AM
Post: #2
RE: Google safe search
Unfortunately, BFilter can't rewrite URLs in requests. This means that although you can modify google's search page to make "Search Google" do a safe search, searches made directly from the browser's search box won't be affected.
Here is how you modify google's search page:

.png  safe_search.png (Size: 38 KB / Downloads: 1056)

Note that Proxomitron can rewrite request URLs, so consider using it for this purpose.
Add Thank You Quote this message in a reply
Oct. 27, 2006, 01:17 AM
Post: #3
RE: Google safe search
Thanks for the info.......

Could Bfilter block the request unless &safe=on was in the search URL though.

Phil
Add Thank You Quote this message in a reply
Oct. 27, 2006, 10:08 AM
Post: #4
RE: Google safe search
It can do that.
In Advanced Configuration -> urls.local write a line like this:
FORBID /http://(www\.)?google\.[^/]*/search(?!.*safe=on).*/
Add Thank You Quote this message in a reply
Nov. 02, 2006, 12:54 AM
Post: #5
RE: Google safe search
Thanks, that will help.

Phil
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: