I’ve to discover were the user come from and if he comes from google (search) I have to show a greeting box (in my blog).
I’ve a script really well done, but I don’t know how to modify it to refer to all the visitors coming from google.
if(referrer == "http://www.smashingmagazine.com/"){
This is the part of the script to modify.
How can this match all the visitors coming from google (all the different possible urls).
How about
?