20060920

ScrapBook Relink


// ==UserScript==
// @name Relink profile -> scrapbook
// @namespace
// @description

// @include http://www.orkut.com/ScrapBook.aspx*
// ==/UserScript==

(function() {
i=document.lastChild.lastChild.childNodes[7].lastChild.firstChild.childNodes[5].childNodes[7].lastChild.childNodes[2].firstChild.childNodes[1].lastChild.childNodes;

var l = i.length-5;
for (var j=6; j<l; j+=4) {

var link = i[j].childNodes[5].childNodes[1].childNodes[1];
var linkparts = link.getAttribute("href").split("?");

link.setAttribute("href", "/ScrapBook.aspx"+"?"+linkparts[1]);
}
})();



  • Platform : Firefox (independent)
  • Script : JavaScript (Grease monkey)
  • desc :

    This script relinks the names in scrap book point to the authors scrap book than the Profile. The picture is still referenced to the Profile. speeds up orkutting a lot with keyboard lovers.


No comments: