The Un-Official Proxomitron Forum

Full Version: Google safe search
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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:
[attachment=96]

Note that Proxomitron can rewrite request URLs, so consider using it for this purpose.
Thanks for the info.......

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

Phil
It can do that.
In Advanced Configuration -> urls.local write a line like this:
FORBID /http://(www\.)?google\.[^/]*/search(?!.*safe=on).*/
Thanks, that will help.

Phil
Reference URL's