请先登陆,再加对方为好友!
if (gourl == "jsgoback") { gourl = "javascript:history.back()"; }