Techno World Inc - The Best Technical Encyclopedia Online!

THE TECHNO CLUB [ TECHNOWORLDINC.COM ] => Javascript Tricks => Topic started by: Tina on July 17, 2007, 10:47:51 AM



Title: Send Scraps to all the Members of a Community
Post by: Tina on July 17, 2007, 10:47:51 AM
Send Scraps to all the Members of a Community

# Just open this page http://www.orkut.com/CommInvite.aspx?cmm=[yourcmmid].
# Paste any one of the below scripts and run on the page you have   opened.

Code:
javascript:d=document;a=d.forms[1];a.target="f";i=0;void(setInterval((function () {a.action="Scrapbook.aspx?Action.writeScrapBasic&uid="+d.getElementsByTagName("option")[i++].value+"&scrapText=ur scrap"+a.elements[7].value;a.submit()}),8000))

Code:
javascript:intervalo = prompt('',2000);msg = 'ur msg';a=document.forms[1];a.target='open1';i = 0;function envia(){if(i == document.getElementsByTagName('select')[2].getElementsByTagName('option').length){alert("done successfully :)")}else{a.action='Scrapbook.aspx?uid='+document.getElementsByTagName('select')[2].getElementsByTagName('option')[i++].value+'&scrapText='+msg+'&Action.writeScrapBasic';a.submit();};};function init(){setInterval("envia()", intervalo)};init();void(0)

# In the script change the text of your scrap and HIT ENTER.
# Allow popups
# You are done!!.It sends scrap to all the friend's automatically.


Title: Re: Send Scraps to all the Members of a Community
Post by: Hellraiser on August 15, 2007, 01:35:19 PM
cool script..thanks