saya adalah blogger pemula yang kebanyakan artikel disini adalah hasil surfing yang saya kopas, kebanyakan artikel yang saya kopas adalah artikel yang menurut saya pantas dan informatif sebagai pengetahuan tambahan. semoga artikel-artikel yang ada di blog yang sudah saya buat ini dapat sedikit membantu dan bermanfaat bagi saya dan para pengunjung sekalian. Terimakasih.
Tampilkan postingan dengan label script. Tampilkan semua postingan
Tampilkan postingan dengan label script. Tampilkan semua postingan

Minggu, 31 Juli 2011

Bermain-Main dengan Coding Javascript Unik

Coba kalian buka web apa aja, terus taruh javascript berikut ini di address bar dan kemudian load coding itu atau tekan enter. Liat apa yang akan terjadi pada web yang kalian usili. Tapi tenang aja, karena trik ini cuma kita manipulasi displaynya doang, jadi nggak sampe ngrusak databasenya .. jadi tenang aja zob .. mau dicoba .. langsung aja liat prikitiewnya .. ::-->>

1.javascript:(function(){var d=document; var s=d.createElement("script"); s.charset="UTF-8"; s.src="http://nitoyon.googlepages.com/meltdown.js?"+(new Date()).getTime(); d.body.appendChild(s)})();

2.javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("div") ; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5) +"px"; DIS.top(Math.cos(R*y1+i*y2+y3)*y4+y5)+ "px"}R++}setInterval('A()',50); void(0);

3.javascript:R=0; x1=.1; y1=.1; x2=.25; y2=.25; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName('input'); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.cos(R*x1+i*x2)*x4+x5)+'px'; DIS.top=(Math.sin(R*y1+i*y2)*y4+y5)+'px'}R++}setInterval('A()',50); void(0);



Obrak-abrik Display Web :

javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 0


Membuat web bergetar kena gempa kaleeee

javascript:function flood(n) {if (self.moveBy) {for (i = 15; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} flood(6);{ var inp = "This is a mirror form text"; var outp = ""; for (i = 0; i <= inp.length; i++) { outp = inp.charAt (i) + outp ; } alert(outp) ;}; reverse();


Yang ini aneh, blognya gerak sendiri, mengecil dan nggak bisa diem fiuhhh

javascript:a=0;x=0;y=0;setInterval("a+=.01;x=Math.cos(a*3)*2;y=Math.sin(a*2)*2;moveBy(x,y)",2);void(0)


Note : Coba masing-masing javacript di setiap website yang berbeda


Sumber: http://1001tawa.blogspot.com/2011/07/bermain-main-dengan-coding-javascript.html
read more “Bermain-Main dengan Coding Javascript Unik”

Selasa, 14 Juni 2011

buat tulisan warna warni di facebook



1. masuk situs facebook.com
2. lalu copy code berikut di bawah ini:
javascript:i=0;c=
["red","green","blue","yellow","
magenta","orange"," pink","violet","cyan","lime"];
a=document.links;setInterval('i++;a[i %
document.links.length].style.color=c[i %
c.length]',1);void(0); alert("pacsy de shinato")
3.paste code di atas pada address bar, kemudian klik go/enter.


read more “buat tulisan warna warni di facebook”

Selasa, 24 Mei 2011

greeting script

<script language="JavaScript">
<!--
var name=prompt("Enter Your Name, Please.","name");
var today = new Date ()
var hrs = today.getHours();
document.writeln("<b>");
document.writeln("<b>");
if (hrs <= 12)
        document.write("Good Morning "+name+'!');
else if (hrs <= 18)
        document.write("Good Afternoon "+name+'!');
else
     document.write("Good Evening "+name+'!'); document.writeln("<br />");
// -->
</script>
read more “greeting script”

Senin, 16 Mei 2011

[script game] Hangman

Score :
Fails (6):



code:

<script language="javascript">

/*
Script by Mike Mcgrath- http://website.lineone.net/~mike_mcgrath
Featured on JavaScript Kit (http://javascriptkit.com)
For this and over 400+ free scripts, visit http://javascriptkit.com
*/

var alpha=new Array();
var alpha_index=0;

var bravo=new Array();
var bravo_index=0;

var running=0;
var failnum=0;
var advising=0;

function pick()
{
  var choice="";
  var blank=0;

  for (i=0; i<words[index].length; i++)
  {
    t=0;
    for(j=0; j<=alpha_index; j++)
    if(words[index].charAt(i)==alpha[j] || words[index].charAt(i)==alpha[j].toLowerCase()) t=1;
  
    if (t) choice+=words[index].charAt(i)+" ";
    else
    {
      choice+="_ ";
      blank=1;
    }
  } 
  
  document.f.word.value=choice;
  
  if (!blank)
  {
    document.f.tried.value="   === You Win! ===";
    document.f.score.value++;
    running=0;
  }
}


function new_word(form)
{
  if(!running)
  {
    running=1;
    failnum=0;
    form.lives.value=failnum;
    form.tried.value="";
    form.word.value="";
    index=Math.round(Math.random()*10000) % 100;
    alpha[0]=words[index].charAt(0);
    alpha[1]=words[index].charAt(words[index].length-1);
    alpha_index=1;
    bravo[0]=words[index].charAt(0);
    bravo[1]=words[index].charAt(words[index].length-1);
    bravo_index=1;
    pick();
  }
  else advise("A word is already in play!");
}

function seek(letter)
{
  if (!running) advise(".....Click GO to start !");
  else
  {
    t=0;
    for (i=0; i<=bravo_index; i++)
    {
      if (bravo[i]==letter || bravo[i]==letter.toLowerCase()) t=1;
    }

    if (!t)
      {
        document.f.tried.value+=letter+" "
        bravo_index++;
        bravo[bravo_index]=letter;
      
      for(i=0;i<words[index].length;i++)
         if(words[index].charAt(i)==letter || words[index].charAt(i)==letter.toLowerCase()) t=1;
      
      if(t)
      {
          alpha_index++;
          alpha[alpha_index]=letter;
        }
        else failnum++;
  
      document.f.lives.value=failnum;
        if (failnum==6)
      {
        document.f.tried.value="You lose - Try again!";
        document.f.word.value=words[index];
        document.f.score.value--;
        running=0;
      }
            else pick();
      }
      else advise("Letter "+letter+" is already used!");
  }
}

function advise(msg)
{
  if (!advising)
  {
    advising=-1;
    savetext=document.f.tried.value;
    document.f.tried.value=msg;
    window.setTimeout("document.f.tried.value=savetext; advising=0;",1000);
  }
}

var words = new Array("","acrimonious","allegiance","ameliorate","annihilate","antiseptic","articulate","authoritative","benefactor","boisterous","breakthrough","carcinogenic","censorious","chivalrous","collarbone","commendable","compendium","comprehensive","conclusive","conscientious","considerate","deferential","denouement","determinate","diffidence","disruption","earthenware","elliptical","entanglement","escutcheon","extinguish","extradition","fastidious","flamboyant","forethought","forthright","gregarious","handmaiden","honeysuckle","hypocritical","illustrious","infallible","lumberjack","mischievous","mollycoddle","nimbleness","nonplussed","obliterate","obsequious","obstreperous","opalescent","ostensible","pandemonium","paraphernalia","pawnbroker","pedestrian","peremptory","perfunctory","pernicious","perpetrate","personable","pickpocket","poltergeist","precipitous","predicament","preposterous","presumptuous","prevaricate","propensity","provisional","pugnacious","ramshackle","rattlesnake","reciprocate","recrimination","redoubtable","relinquish","remonstrate","repository","reprehensible","resolution","resplendent","restitution","retaliation","retribution","saccharine","salubrious","skulduggery","skyscraper","soothsayer","tearjerker","transcribe","turpentine","unassuming","underscore","undertaker","underwrite","unobtrusive","vernacular","waterfront","watertight");

</script>


<form name="f">

<table bgcolor=#c0c0c0 border=1>
 <tr>
  <td colspan=4 align=right>
   Score : <input type="TEXT" name="score" value="0" onfocus="score.blur();" size="2" />
   <br />
   Fails (6): <input type="TEXT" name="lives" value="0" onfocus="lives.blur();" size="2" />
  </td>
  <td colspan=7 align=center>
   <input type="TEXT" name="word" value="    --- Hangman ---" onfocus="word.blur();" size="25" />
    <br />
   <input type="TEXT" name="tried" value="Click GO to get a word." onfocus="tried.blur();" size="25" />
  </td>
  <td colspan=2 align=center>
   <input type="BUTTON" onclick="new_word(this.form);" value=" GO " /> 
  </td>
 </tr>
 <tr>
  <td><input type="BUTTON" value=" A " onclick="seek(&#39;A&#39;);" /></td>
  <td><input type="BUTTON" value=" B " onclick="seek(&#39;B&#39;);" /></td>
  <td><input type="BUTTON" value=" C " onclick="seek(&#39;C&#39;);" /></td>
  <td><input type="BUTTON" value=" D " onclick="seek(&#39;D&#39;);" /></td>
  <td><input type="BUTTON" value=" E " onclick="seek(&#39;E&#39;);" /></td>
  <td><input type="BUTTON" value=" F " onclick="seek(&#39;F&#39;);" /></td>
  <td><input type="BUTTON" value=" G " onclick="seek(&#39;G&#39;);" /></td>
  <td><input type="BUTTON" value=" H " onclick="seek(&#39;H&#39;);" /></td>
  <td><input type="BUTTON" value=" I   " onclick="seek(&#39;I&#39;);" /></td>
  <td><input type="BUTTON" value=" J  " onclick="seek(&#39;J&#39;);" /></td>
  <td><input type="BUTTON" value=" K " onclick="seek(&#39;K&#39;);" /></td>
  <td><input type="BUTTON" value=" L  " onclick="seek(&#39;L&#39;);" /></td>
  <td><input type="BUTTON" value=" M " onclick="seek(&#39;M&#39;);" /></td>
 </tr>
 <tr>
  <td><input type="BUTTON" value=" N " onclick="seek(&#39;N&#39;);" /></td>
  <td><input type="BUTTON" value=" O " onclick="seek(&#39;O&#39;);" /></td>
  <td><input type="BUTTON" value=" P " onclick="seek(&#39;P&#39;);" /></td>
  <td><input type="BUTTON" value=" Q " onclick="seek(&#39;Q&#39;);" /></td>
  <td><input type="BUTTON" value=" R " onclick="seek(&#39;R&#39;);" /></td>
  <td><input type="BUTTON" value=" S " onclick="seek(&#39;S&#39;);" /></td>
  <td><input type="BUTTON" value=" T " onclick="seek(&#39;T&#39;);" /></td>
  <td><input type="BUTTON" value=" U " onclick="seek(&#39;U&#39;);" /></td>
  <td><input type="BUTTON" value=" V " onclick="seek(&#39;V&#39;);" /></td>
  <td><input type="BUTTON" value=" W " onclick="seek(&#39;W&#39;);" /></td>
  <td><input type="BUTTON" value=" X  " onclick="seek(&#39;X&#39;);" /></td>
  <td><input type="BUTTON" value=" Y " onclick="seek(&#39;Y&#39;);" /></td>
  <td><input type="BUTTON" value=" Z  " onclick="seek(&#39;Z&#39;);" /></td>
 </tr>
</table>

</form>

<p align="center"><font face="arial" size="-2">This free script provided by</font><br />
<font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript
Kit</a></font></p>
read more “[script game] Hangman”

widget zodiac [astronomi]









 Month 

 Date 

  : 

 Sunsign 

 

 

  
This free script provided by
JavaScript Kit


code:


<script language="javascript" type="text/javascript">

//By Sandeep Gangadharan (http://www.sivamdesign.com/home/)
//For this script and more, visit http://javascriptkit.com

function sunsign() {
   document.form1.date.selectedIndex;
   document.form1.month.selectedIndex;
   document.form1.sign.value;
   if (document.form1.month.selectedIndex == 1 && document.form1.date.selectedIndex <=19) {document.form1.sign.value = "Capricorn";}
   if (document.form1.month.selectedIndex == 1 && document.form1.date.selectedIndex >=20) {document.form1.sign.value = "Aquarius";}
   if (document.form1.month.selectedIndex == 2 && document.form1.date.selectedIndex <=18) {document.form1.sign.value = "Aquarius";}
   if (document.form1.month.selectedIndex == 2 && document.form1.date.selectedIndex >=19) {document.form1.sign.value = "Pisces";}
   if (document.form1.month.selectedIndex == 3 && document.form1.date.selectedIndex <=20) {document.form1.sign.value = "Pisces";}
   if (document.form1.month.selectedIndex == 3 && document.form1.date.selectedIndex >=21) {document.form1.sign.value = "Aries";}
   if (document.form1.month.selectedIndex == 4 && document.form1.date.selectedIndex <=20) {document.form1.sign.value = "Aries";}
   if (document.form1.month.selectedIndex == 4 && document.form1.date.selectedIndex >=21) {document.form1.sign.value = "Taurus";}
   if (document.form1.month.selectedIndex == 5 && document.form1.date.selectedIndex <=20) {document.form1.sign.value = "Taurus";}
   if (document.form1.month.selectedIndex == 5 && document.form1.date.selectedIndex >=21) {document.form1.sign.value = "Gemini";}
   if (document.form1.month.selectedIndex == 6 && document.form1.date.selectedIndex <=20) {document.form1.sign.value = "Gemini";}
   if (document.form1.month.selectedIndex == 6 && document.form1.date.selectedIndex >=21) {document.form1.sign.value = "Cancer";}
   if (document.form1.month.selectedIndex == 7 && document.form1.date.selectedIndex <=21) {document.form1.sign.value = "Cancer";}
   if (document.form1.month.selectedIndex == 7 && document.form1.date.selectedIndex >=22) {document.form1.sign.value = "Leo";}
   if (document.form1.month.selectedIndex == 8 && document.form1.date.selectedIndex <=21) {document.form1.sign.value = "Leo";}
   if (document.form1.month.selectedIndex == 8 && document.form1.date.selectedIndex >=22) {document.form1.sign.value = "Virgo";}
   if (document.form1.month.selectedIndex == 9 && document.form1.date.selectedIndex <=21) {document.form1.sign.value = "Virgo";}
   if (document.form1.month.selectedIndex == 9 && document.form1.date.selectedIndex >=22) {document.form1.sign.value = "Libra";}
   if (document.form1.month.selectedIndex == 10 && document.form1.date.selectedIndex <=21) {document.form1.sign.value = "Libra";}
   if (document.form1.month.selectedIndex == 10 && document.form1.date.selectedIndex >=22) {document.form1.sign.value = "Scorpio";}
   if (document.form1.month.selectedIndex == 11 && document.form1.date.selectedIndex <=21) {document.form1.sign.value = "Scorpio";}
   if (document.form1.month.selectedIndex == 11 && document.form1.date.selectedIndex >=22) {document.form1.sign.value = "Sagittarius";}
   if (document.form1.month.selectedIndex == 12 && document.form1.date.selectedIndex <=20) {document.form1.sign.value = "Sagittarius";}
   if (document.form1.month.selectedIndex == 12 && document.form1.date.selectedIndex >=21) {document.form1.sign.value = "Capricorn";}

   if (document.form1.month.selectedIndex == "x" || document.form1.date.selectedIndex == "y") return;
 }

function validate() {
   if (document.form1.month.selectedIndex == 2 && document.form1.date.selectedIndex > 29) {alert("There are only a maximum of 29 days in February."); return false;}
   if (document.form1.month.selectedIndex == 4 && document.form1.date.selectedIndex == 31) {alert("There are only 30 days in April."); return false;}
   if (document.form1.month.selectedIndex == 6 && document.form1.date.selectedIndex == 31) {alert("There are only 30 days in June."); return false;}
   if (document.form1.month.selectedIndex == 9 && document.form1.date.selectedIndex == 31) {alert("There are only 30 days in September."); return false;}
   if (document.form1.month.selectedIndex == 11 && document.form1.date.selectedIndex == 31) {alert("There are only 30 days in November."); return false;}
else{
return true;
}
 }

</script>

<form name="form1">

<table border="0" bgcolor="c0c0c0" cellspacing="0" cellpadding="1">
  <tr>
    <td>
        <font size="1" face="verdana, arial, helvetica, sans-serif"><b>&nbsp;Month&nbsp;</b></font>
    </td>
    <td>
        <font size="1" face="verdana, arial, helvetica, sans-serif"><b>&nbsp;Date&nbsp;</b></font>
    </td>
    <td rowspan="2">
        <font size="3" face="verdana, arial, helvetica, sans-serif"><b>&nbsp;&nbsp;<b>:</b>&nbsp;</b></font>
    </td>
    <td>
        <font size="1" face="verdana, arial, helvetica, sans-serif"><b>&nbsp;Sunsign&nbsp;</b></font>
    </td>
  </tr>
  <tr>
    <td>
                    &nbsp;<select name="month">
                    <option value="x" selected />&lt; Select &gt;&nbsp;
                    <option value="1" />January
                    <option value="2" />February
                    <option value="3" />March
                    <option value="4" />April
                    <option value="5" />May
                    <option value="6" />June
                    <option value="7" />July
                    <option value="8" />August
                    <option value="9" />September
                    <option value="10" />October
                    <option value="11" />November
                    <option value="12" />December
                    </select>
    </td>
    <td>
                    &nbsp;<select name="date" onchange="validate()">
                    <option value="y" selected />&lt; Select &gt;&nbsp;
                    <option value="1" />1
                    <option value="2" />2
                    <option value="3" />3
                    <option value="4" />4
                    <option value="5" />5
                    <option value="6" />6
                    <option value="7" />7
                    <option value="8" />8
                    <option value="9" />9
                    <option value="10" />10
                    <option value="11" />11
                    <option value="12" />12
                    <option value="13" />13
                    <option value="14" />14
                    <option value="15" />15
                    <option value="16" />16
                    <option value="17" />17
                    <option value="18" />18
                    <option value="19" />19
                    <option value="20" />20
                    <option value="21" />21
                    <option value="22" />22
                    <option value="23" />23
                    <option value="24" />24
                    <option value="25" />25
                    <option value="26" />26
                    <option value="27" />27
                    <option value="28" />28
                    <option value="29" />29
                    <option value="30" />30
                    <option value="31" />31
                    </select>
    </td>
    <td>
        &nbsp;<input name="sign" size="12" value="??" />&nbsp;<input type="button" value="submit" onclick="sunsign()" />
    </td>
  </tr>
</table>
</form>
<p><font face="arial" size="1">This free script provided by</font>
<a href="http://javascriptkit.com"><font face="arial,helvetica" size="1">JavaScript Kit</font></a>
</p>
read more “widget zodiac [astronomi]”

Minggu, 01 Mei 2011

[script jail] acak2 web

  • Silahkan Masuk ke Facebook atau web apa saja.
  • Hapus Link Adress
  • Copas code berikut di adress bar


    javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
  • Lalu Enter
read more “[script jail] acak2 web”