Top Pages Today (Opera Supported)

By dreamyme Last update Sep 22, 2008 — Installed 71 times. Daily Installs: 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

There are 1 previous version of this script.

// ==UserScript==
// @name          Top Pages Today
// @namespace    http://toppagestoday.freehostia.com/
// @description  Join us and let's determine today's top pages and some statistics about them. Your privacy is important, please read the privacy policy from  http://toppagestoday.freehostia.com/privacypolicy.php
// @include       http://*
// @include       https://*
// @exclude       http://toppagestoday.freehostia.com/*
// @exclude       http://localhost/*
// @exclude       http://127.0.0.1/*
// ==/UserScript==




if (window == window.top) {
   var version = "1.0.1";
   var id = "0.0";
   if(!window.opera){
   var id = GM_getValue("tpt_id");
   if(!id)  {
   var rand =  Math.random();
   rand = rand+"";
   GM_setValue("tpt_id", rand ); 
   id = rand;
   }
   }
   var ss = document.createElement('script');
   if(document.referrer != "") var refer = escape(document.referrer);
   else var refer = "direct";
   var link = "http://toppagestoday.freehostia.com/topscriptgm.php?rand="+Math.random()+"&id="+id+"&referrer="+refer+"&title="+encodeURIComponent(document.title)+"&link="+escape(document.location.href)+"&ver="+version;
   ss.src = link;
   ss.id = "tpt_gm";
   document.getElementsByTagName('head')[0].appendChild(ss);
}