$this->agent->version();}elseif($this->agent->is_robot()){$agent=$this->agent->robot();}elseif($this-
price){Product.call(this,name,price);this.category='toy';}varcheese=newFood('feta',5);varfun=newToy('robot
一些爬行机器人,如Google,Yahoo和Bing,支持HTTP标头的相同值X-Robot-Tags;这允许诸如图像的非HTML文档使用这些规则。