Hi dijetlo
Thanks for the response, you are right that if you set safesearch in Yahoo, it's not (in this instance) done by the search string....but in Google, I can EITHER set safesearch "globally", i.e. by logging on, and changing my profile, OR by adding to the search string.
You have correctly identified that I could set Safesearch globally by changing my profile, but what I really want to do is to add to each search string a command that forces safesearch for that search only...
To impose SafeSearch for Google or Bing, all you have to do is add the following to /etc/dansguardian/lists/urlregexplist (it might be in a different folder, but the name of the file will be urlregexplist)
#for google
#we add &safe=vss to the end of every search
"(^http[s]?://[0-9a-z]+\.google\.[a-z]+[-/%.0-9a-z]*/search\?.*)"->"\1&safe=vss"
#for bing
#similar, but &adlt=strict is the keyword
"(http[s]?://[0-9a-z]+.bing.com/images/search\?.*)"->"\1&adlt=strict"
but I can't see a way of doing it in Yahoo
Anyway, thanks for your thoughts....anyone else going to contribute to this thread?
Last edited by jimbo1954; 05-29-2014 at 05:56 AM.
|