Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

orkut one click scrap

just one click to view your friends scrapbook.

it adds a small link to scrapbook and to albums, besides to the link to your frind profile on orkut!






Aug 12, 2006
V-i-k-a-s P-... Scriptwright

I have modified the above script as the following. It now adds an [F] before [S][A]. That [F] takes you directly to the "add as friend" page of the person. It also saves unnecessary clicking to go first to profile and then to click "add as friend".

Hope you would test and this as the modified final link if you find it useful.

Interested visitors may save the following text as text file 2427.user.js
then open this file in your browser and click tools-install (in firefox).

Hope it helps. If so, please scrap me at
http://www.orkut.com/Profile.aspx?uid=976080314...

// ==UserScript==
// @name orkut one click scrap
// @namespace http://www.mat.puc-rio.br/~alexlaier/greasemonk...
// @description just one click to view your friends scrapbook.
// @include http://www.orkut.com*
// ==/UserScript==

(function() {
var i=document.getElementsByTagName('a');
for (var j=i.length-1; j>1; j--) {
var linkdata = i[j].getAttribute("href");
var linkparts = linkdata.split("?");
if (linkdata.match("Profile.") == "Profile." ) {
var addfriendlink = document.createElement("a");
addfriendlink.href="http://www.orkut.com/FriendAdd.aspx"+"?"+linkparts[1];
addfriendlink.appendChild(document.createTextNode("[F]"));

var scrapviewlink = document.createElement("a");
scrapviewlink.href="http://www.orkut.com/ScrapBook.aspx"+"?"+linkparts[1];
scrapviewlink.appendChild(document.createTextNode("[S]"));

var albumlink = document.createElement("a");
albumlink.href="http://www.orkut.com/AlbumView.aspx"+"?"+linkparts[1];
albumlink.appendChild(document.createTextNode("[A]"));

i[j].parentNode.insertBefore( albumlink ,i[j].nextSibling);
i[j].parentNode.insertBefore( scrapviewlink ,i[j].nextSibling);
i[j].parentNode.insertBefore( addfriendlink ,i[j].nextSibling);
}
}

var foot=document.getElementById("myFooter_linkContactUs");
foot.href="http://www.orkut.com/ScrapView.aspx?uid=7971467171394877835"

})();

 
Aug 12, 2006
V-i-k-a-s P-... Scriptwright

Excellent script.

So simple, so convenient, so useful.

Some suggestions:

1. please add an [F] to directly add the person as you friend. This will also avoid going through profile to click the "add as a friend" link.

2. please open these pages in new window/ tab because it currently opens the pages in the current window/ page, thus we have to get back from that page to current page.

 
Mar 17, 2006
yash gupta User

cool! adds a nifty [S][A] below the link to the profile so you can directly go to the scrapbook!

You could comment on this script if you were logged in.