Stranice: [1]   Idi dole
Štampaj
Autor Tema: javascript za mozillu  (Pročitano 669 puta)
n3r0b0l
Napredak
***

Ugled: 2
Van mreže Van mreže

Poruke: 118



« poslato: Septembar 15, 2008, 06:10:22 am »

Dali postoji neka ovakva ista,ili slicna javascript-a koja radi i na mozilii
Kod:
<SCRIPT language=javascript>
 <!--
 function Is() {
     var agent = navigator.userAgent.toLowerCase();
     this.major = parseInt(navigator.appVersion);
     this.minor = parseFloat(navigator.appVersion);
     this.ns  = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1)));
     this.ns2 = (this.ns && (this.major == 2));
     this.ns3 = (this.ns && (this.major == 3));
     this.ns4b = (this.ns && (this.major == 4) && (this.minor <= 4.03));
     this.ns4 = (this.ns && (this.major >= 4));
     this.ie   = (agent.indexOf("msie") != -1);
     this.ie3  = (this.ie && (this.major == 2));
     this.ie4  = (this.ie && (this.major >= 4));
     this.op3 = (agent.indexOf("opera") != -1);
 }
 
 var is = new Is()
 if(is.ns4) {
     doc = "document";
     sty = "";
     htm = ".document"
 
 } else if(is.ie4) {
     doc = "document.all";
     sty = ".style";
     htm = ""
 }
 
 var text1 = "", text2 = "", count = 0, count2=0;
 msg = new Array();
 msg[0] = "  <center><font face=Impact Size=8 color=#ff0000>neki text poruka br.1</font>   ";
 msg[1] = "  <font face=Impact Size=15 color=#ff0000> </font>   ";
 msg[2] = "<font face=Impact size=15 color=#0000ff><center><hl> </hl> ";
 msg[3] = "  <u> neki text poruka br.2</u>";
 msg[4] = "<font face=Impact Size=15 color=#c0ffff>neki text poruka br.3</font>";
 msg[5] = "<h1></h1> <br>";
 msg[6] = "  ";
 
 text = msg[0].split("");
 function writetext(){
  text1 ='<tt>'+text2 + '<b style="color:#ff666">'+text[count]+'</b></tt>';
  text2 += text[count];
  fillHTML = eval(doc + '["nothing"]' + htm);
     if(is.ns4) {
  fillHTML.write(text1);
  fillHTML.close();
  } else {
  fillHTML.innerHTML = text1;
  }
 
  if (!(count >= text.length-1)){
  count+=1;
  setTimeout('writetext()',1);
  }
 
  else{
  count=0;
  text2+='<p>'
  if (count2!=6){
  count2++
  text = eval('msg['+count2+'].split("")');
  setTimeout('writetext()',5);
 
  }
  }
 }
 <!-- MAdem T&#252;rks&#252;n G&#246;ster &#220;rks&#252;n -->
 //-->
 </SCRIPT>
Sačuvana

Stranice: [1]   Idi gore
Štampaj
Prebaci se na:  

Naša mreža: Pentesting-RS | Bg-dizajn.com | AstaHost | ITvesti.rs | Anonimus | My Exploit | Lovac Na Novac | RE.rs
Partneri: Net Centar | EE.RS portal | Maturski | Svet Igara