View Single Post
  #2 (permalink)  
Old 07-28-2007, 12:26 PM
chuckroast's Avatar
chuckroast chuckroast is offline
Pligg Developer
 
Join Date: Jun 2006
Posts: 5,448
Hi simon

it looks as though alexa is called a few times in searchstatus.js

the first is here..
Code:
this.initAlexaFromDoc( -1 );
  			var encodedUrl = ssUrlEncode( url );
  			var querystring = this.isAnonymize() ? "http://www.anonymization.org/-" : "http://";
  			//querystring += "http://data.alexa.com/data/+wQ411en8000lA?cli=10&dat=snba&ver=7.0&cdt=alx_vw%3D20%26wid%3D12206%26act%3D00000000000%26ss%3D1680x1050%26bw%3D964%26t%3D0%26ttl%3D35371%26vis%3D1%26rq%3D4&url=" + encodedUrl;
				//querystring += "aws-beta.amazon.com/onca/xml?Service=AlexaWebInfoService&SubscriptionId=1ASYC6ZNPG2STTW2TXG2&Operation=UrlInfo&ResponseGroup=Rank,Related,ContactInfo&Uip=" + this.mLocalIP + "&Uid=" + this.mInstallDate + "&Url=" + encodedUrl;
				querystring += "xml.alexa.com/data?cli=10&dat=nsa&ver=quirk-searchstatus&uid=" + this.mInstallDate + "&userip=" + this.mLocalIP + "&url=" + encodedUrl;
And the next is here

Code:
var currdomain = this.mAlexaLastURL.replace( /http:\/\/(.+?)\/.*$/gi, "$1" );
  	var querystring = "http://www.alexa.com/data/ds/linksin?q=" + ssUrlEncode( "link:" + currdomain ) + "&url=" + ssUrlEncode( this.mAlexaLastURL );
  	
  	item.value = querystring;
  	ssOpenItemUrl( item );
  },
  
  showAlexaOverview: function( item )
  {										
  	var currdomain = this.mAlexaLastURL.replace( /http:\/\/(.+?)\/.*$/gi, "$1" );
  	var querystring = "http://www.alexa.com/data/details/main?q=&url=" + ssUrlEncode( currdomain );
  	
  	item.value = querystring;
  	ssOpenItemUrl( item );
  },
  
  showAlexaTrafficDetails: function( item )
  {
  	var currdomain = this.mAlexaLastURL.replace( /http:\/\/(.+?)\/.*$/gi, "$1" );
  	var querystring = "http://www.alexa.com/data/details/traffic_details?q=&url=" + ssUrlEncode( currdomain );
  	
  	item.value = querystring;
  	ssOpenItemUrl( item );
  },
  

  showAlexaCategory: function( item )
  {
  	var cat = item.getAttribute( "tooltiptext" );
  	if( cat )
  	{
  		var link = "http://www.alexa.com/browse_redirect?catpath=" + cat;
  		ssOpenUrl( link );
Hope that helps
Reply With Quote