DIGIT-ARC read-only archive · snapshot: July 23, 2026

Hide orkut friends add request in opera

5 posts · originally from https://geek.digit.in/community/threads/hide-orkut-friends-add-request-in-opera.49287/

anilmail17
anilmail17 Original post #1
Feb 12, 2007 at 1:55 PM
i have created a user javascript which can be used to hide friend request and can be showned on demand. Here are some screenshots which shows how this script works:

*anilsoni.wordpress.com/files/2007/02/normal-view.JPG
Normal view of orkut when a person request you to add as a friend


*anilsoni.wordpress.com/files/2007/02/hide-request-screenshot.JPG
View after adding orkut request hider


*anilsoni.wordpress.com/files/2007/02/hide-request-screenshot2.JPG
Screenshot showing the add friend request with option to hide requests


Here i am giving you the script or you can download this script from here(right click and click on save target as).
Code:
// ==UserScript==
// @include *www.orkut.com/home.aspx
// @description Hide request panel on orkut profile homepage
// ==/UserScript==

document.onload=Hide_Requests;
var new_con;
function Hide_Requests()
{
var tables=document.getElementsByTagName(”table”);
var con_str=tables[3].cells[0].innerHTML;
if (con_str.substr(0,3)==”new”)
{
new_con =con_str.substr(con_str.indexOf(”(”)+1,con_str.indexOf(”)”)-con_str.indexOf(”(”)-1);
tables[3].cells[0].innerHTML=”<a href=’Show_Requests()’>Show all requests.</a> Total “+new_con+” requests” ;
tables[3].rows[1].style.display=”none”;
}
}

function Show_Requests()
{
var tables=document.getElementsByTagName(”table”);
tables[3].cells[0].innerHTML=”new connections <span>(”+new_con+”)</span> - <a href=’Hide_Requests()’>Hide</a>”;
tables[3].rows[1].style.display=”block”;
}

Save this script as “orkut request hider.js”. Now open orkut site in opera and goto Tools>Quick Preferences>Edit Site Preferences
from here select scripting tab and now check “Enable Javascript” option and at the bottom of this you will find “User Javascript files”. Click on choose and select the folder in which you have saved “orkut request hider.js”
*anilsoni.wordpress.com/files/2007/02/oper-scripting-settings.JPG

Click Ok and login into your orkut account. maaza aaa gaya ho gaya hooray
S
Feb 12, 2007 at 2:18 PM
Thanks .How can this be applied in IE .
Bcoz i dont like using opera.
reps for u.
anilmail17
Feb 12, 2007 at 2:59 PM
@siddharth_2463107
well i dont think that there is method for adding user javascript in IE so i will prefer u to use opera instead of IE bcz opera is many times better than IE.
anilmail17
Feb 12, 2007 at 3:46 PM
Thnx indyan for these links i will try these two and upload
forever
forever #5
Feb 12, 2007 at 3:52 PM
brilliant job , kudos :)