Java Kodları (Hepsi)

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
Cookies Bilgilerini Sunan Bir Java

<script Language="JavaScript">
<!-- hide script from non compliant broswers
// author: Roger W. Davis

//first, calculate an expiration for your temporary test cookie
var oneDay= 1*24*60*60*1000;
var expDate = new Date();
expDate.setTime (expDate.getTime() + oneDay);
var cookieExpires = expDate.toGMTString();
//just for completeness, get the browser information
document.write("Your browser is: ", navigator.appName,"<BR>");
document.write("Version: ",navigator.appVersion,"<BR>");
//set your temprorary cookie
document.cookie="verifyCookie=test; expires="+cookieExpires
//check to see if ANY cookies exist, including the one you just set
if (document.cookie.length>0)
document.write("Your browser supports cookies.<BR><BR>");
else {
document.write("Your browser doesn't support cookies, ")
document.write("or they're currently disabled.<BR><BR>");
document.write(document.cookie.substring(0,document.cookie.length)+"<BR><BR>");
}
//now be a good Netizen and clear out the unwanted stuff
document.cookie="verifyCookie=CLEAR; expires=Sun, 09-Nov-97 01:00:00 GMT";
//-->
</script>​
 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
(Bilgisayarınız ne süredir çalışıyor)
--------------------------------------------------------------------------------------------
<?php

/*****************************************************************************
* Kod : Destan YILANCI *
* eposta : [email protected] /S.D.Ü. Sistem Grubu/ *
* Konu : Bilgisayarin surekli olarak acik oldugu *
* (calisir durumda) zamani PHP de gostermek *
* Not : Linux veya unix turevi sistemlerde calisir *
* Calisir hali : http://destan.sdu.edu.tr/uptime.php *
*****************************************************************************/

$uptime_array = explode(" ", exec("cat /proc/uptime"));
$seconds = round($uptime_array[0], 0);
$minutes = $seconds / 60;
$hours = $minutes / 60;
$days = floor($hours / 24);
$hours = floor($hours - ($days * 24));
$minutes = floor($minutes - ($days * 24 * 60) - ($hours * 60));
$seconds = floor($seconds - ($days * 24 * 60 * 60) - ($hours * 60 * 60) -
($minutes * 60));
$uptime_array = array($days, $hours, $minutes, $seconds);

if ($uptime_array[0] == 0) {
if ($uptime_array[1] == 0) {
if ($uptime_array[2] == 0) {
print("Bilgisayarin surekli acik oldugu sure: " . $uptime_array[3] . " saniye");
}

else {
print("Bilgisayarin surekli acik oldugu sure: " . $uptime_array[2] . " dakika");
}
}

else {
print("Bilgisayarin surekli acik oldugu sure: " . $uptime_array[1] . " saat");
}
}

else {
print("Bilgisayarin surekli acik oldugu sure: " . $uptime_array[0] . " gun");
}
?>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
(Bilgisayar Bilgilerini Gösteren Browser)
--------------------------------------------------------------------------------------------------------
<!-- TWO STEPS TO INSTALL DOM BROWSER:

1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Cyanide_7 ([email protected]) -->
<!-- Web Site: http://www7.ewebcity.com/cyanide7 -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var objects = new Array(), browser = null, expanded = null;

// begin objects array with the document
objects[0] = new Array(document, "_document", false);

function openDOMBrowser(activeElement){
// finds index of incoming object by its key
activeIndex = arrayIndexOf(objects, activeElement, 1);
// toggles its expanded boolean
objects[activeIndex][2] = !objects[activeIndex][2];
// opens/reopens the window
args = "width=500,height=600,left=20,top=20,scrollbars,resizable,top=0,left=0";
browser = window.open('',"DOMBrowser",args);
browser.focus();
// clears the expanded array (to avoid infinate loops in the DOM)
expanded = new Array();
// document is about to be expanded
expanded["_document"] = true;
// writes HTML to the window
browser.document.open("text/html","replace");
browser.document.writeln("<HTML><HEAD><TITLE>DOM Browser</TITLE></HEAD>");
browser.document.writeln("<BODY BGCOLOR=BBBBBB link=FFFFF vlink=FFFFF>");
browser.document.writeln("<h3>document:</h3><ul>");
// calls recurrsive property writing function
getProps(document);
// finishes writing HTML and closes
browser.document.writeln("</ul></BODY></HTML>");
browser.document.close();
// returns false for event handlers
return false;
}
// recurrsive function to get properties of objects
function getProps(obj){
// for loop to run through properties of incoming object
for(var prop in obj){
browser.document.writeln("<li>");
// if the property is an object itself, but not null...
if(typeof(obj[prop])=="object" && obj[prop]!=null){
// get index of object in objects array
valIndex = arrayIndexOf(objects, obj[prop], 0);
// if not in index array, add it and create its key
if(valIndex==-1){
valIndex = objects.length;
key = ((new Date()).getTime()%10000) + "_" + (Math.floor(Math.random()*10000));
objects[valIndex] = new Array(obj[prop], key, false);
}
// write link for this object to call openDOMBrowser with its key
browser.document.writeln(""+prop+
" : <a href=\"javascript:void(0)\" onClick=\"window.opener.openDOMBrowser('"+
objects[valIndex][1]+"');return false;\">"+(new String(obj[prop])).replace(/</g,"<")+"</a>");
// determine whether object should be expanded/was already expanded
if(objects[valIndex][2] && !expanded[objects[valIndex][1]]){
// if it needs to be expanded, add to expanded array
expanded[objects[valIndex][1]] = true;
// write nested list tag and recurrsive call to getProps
browser.document.writeln("<ul>");
getProps(obj[prop]);
browser.document.writeln("</ul>");
}
} else
// if not an object, just write property, value pair
browser.document.writeln(""+prop+" : " + (new String(obj[prop])).replace(/</g,"<"));
browser.document.writeln("</li>");
}
}
// function to find object in an array by field value
function arrayIndexOf(array, value, field){
var found = false;
var index = 0;
while(!found && index < array.length){
// field may be object reference or key
if(array[index][field]==value)
found = true;
else
index++;
}
return (found)?index:-1;
}
// End -->
</script>
</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>

<center>
<form>
<input type=button value="Open DOM Browser" onClick="openDOMBrowser('_document');">
</form>
</center>

<p><center>

by <a href="javascript:if(confirm('http://javascriptsource.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://javascriptsource.com/'" tppabs="http://javascriptsource.com/">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 3.78 KB -->
 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
(Ay Menüsü) ScriptCi.Com
--------------------------------------------------------------------------------------------
<!-- ONE STEP TO INSTALL AUTO MONTH:

1. Copy the coding into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the BODY of your HTML document -->

<BODY>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Don Demrow ([email protected]) -->
<!-- Modified: Benjamin Wright, JavaScript Source Editor -->
<!-- Web Site: http://resume.w3site.com -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var time = new Date();
var month = time.getMonth();
var date = month - 12;
var realJavaScriptMonth = month;
var future = month + 0;
month = month + 1; /* Compensate for "January" being "0" */
document.writeln ("<FORM><SELECT><OPTION value=\"\">Month");
do {
month = date;
if (month >= 12) {
month = month - 12;
}
if (month < 0) {
month = month + 12;
}
date++;
var dateName ="";
switch (month) {
case 0:
dateName = "January";
break;
case 1:
dateName = "February";
break;
case 2:
dateName = "March";
break;
case 3:
dateName = "April";
break;
case 4:
dateName = "May";
break;
case 5:
dateName = "June";
break;
case 6:
dateName = "July";
break;
case 7:
dateName = "August";
break;
case 8:
dateName = "September";
break;
case 9:
dateName = "October";
break;
case 10:
dateName = "November";
break;
case 11:
dateName = "December";
break
}
month++;
realJavaScriptMonth++;
document.write ("<OPTION value=\"" + realJavaScriptMonth + "\">" + dateName + "");
realJavaScriptMonth++;
}
while (date < future)
document.write ("</SELECT></FORM>");
// End -->
</script>

<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided

Tr-Web Javascript Arşivi</font>
</center><p>

<!-- Script Size: 1.74 KB -->
 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
Direk kuran okumaya başlıyor

<p><font face="Abbese" color="#0000ff" size="2">
<embed align="left" src="http://quran.islamway.com/mishary1424/036.ram" width="116" height="31" type="audio/x-pn-realaudio-plugin" autostart="true" controls="ControlPanel" console="Clip1" border="0"></font></p>​
 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
Mouse linkin üzerine geldiğinde + şeklini almasını sağlayan java

<style>
<!--
a:hover{ cursor:crosshair;}
-->
</style>
 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
Altı cizgisiz link

<style>
<!--
a{text-decoration:none}
//-->
</style>
 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
statusda yanıp sönen yazı
--------------------------------------------------------------------------------

Kod:
<script language="JavaScript">
<!--
// http://komplexx.8m.com
var x = 0
var speed = 200
var text = "Buraya Mesajınızı Yazın."

function Blinky() {
window.status = text
setTimeout("Blinky2()", speed)
}

function Blinky2() {
window.status = " "
setTimeout("Blinky()", speed)
}

Blinky()
//-->
</script>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
Ziyaretçi selamlar
--------------------------------------------------------------------------------

Kod:
<script language="JavaScript">
alert("İyi Gezintiler ve uğradığınız için teşekkurler");
</script>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
websitelerine yönlendirme
--------------------------------------------------------------------------------

Kod:
<!-- GotoBox Change the VALUES to your links! -->

<CENTER>
<FORM>

<SELECT NAME="list">
<OPTION SELECTED VALUE="http://www.kitabvesunnetiihya.8m.com">muslumanın sitesine buyrun
<OPTION VALUE="http://www.emrebaba.4t.com">Emrenin sitesine buyrun
<OPTION VALUE="http://www.islamhouse.com/tk/">Islam Evi<OPTION VALUE="http://www.musluman.biz">bakın bakalım
</SELECT><P>

<INPUT TYPE=BUTTON VALUE="Bağlan"
onClick="top.location.href=this.form.list.options[this.form.list.selectedIndex].value">

</FORM>
</CENTER>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
statusda kayan yazı
--------------------------------------------------------------------------------

Kod:
iiÖÖçs<!-- This scrolls ' Your Message Here ' in the status bar -->
<SCRIPT LANGUAGE="JavaScript">
//Modified by Coffeecup.com

function infoscroll(seed,looped)
{
var text1 = " Yazını buraya yaz ";
var text2 = " Yazını buraya yaz ";
var msg=text1+text2;
var putout = " ";
var c = 1;

if (looped > 10)
{ window.status="<Thanks !>"; }
else if (seed > 100)
{
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0)
{
for (c=0 ; c < seed ; c++)
{ putout+=" "; }
putout+=msg.substring(0,100-seed);
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
window.status=putout;
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0)
{
if (-seed < msg.length)
{
putout+=msg.substring(-seed,msg.length);
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
window.status=putout;
timerTwo=window.setTimeout(cmd,100); // 100
}
else
{
window.status=" ";
looped += 1;
var cmd = "infoscroll(100," + looped + ")";
timerTwo=window.setTimeout(cmd,75); // 75
}
}
}
// -->

<!--
infoscroll(100,1)
// -->

</SCRIPT>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
SIK KULLANILANLAR
--------------------------------------------------------------------------------

Kod:
<script language="JavaScript">
var bookmarkurl="http://musluman.biz"
var bookmarktitle="---Yazını buraya yaz---"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
</script>

<DIV align=center>
<FONT face="Tahoma, Verdana, Arial, sans-serif" size=2>
<A href="javascript:addbookmark()">Favorilerinize Ekleyiniz!</A>
</FONT>
</DIV>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
sağ tuşu yasak
--------------------------------------------------------------------------------

Kod:
<body><script language="JavaScript"><!--
document.onmousedown=click
var times=0
var times2=10
function click() {
if ((event.button==2) || (event.button==3)) {
if (times>=1) { earthquake() }
alert("İkinciye Deneme Tavsiye Etmem.Bilgisayarın Kitlenir Uyarmadı Deme!");
times++ } }
function earthquake() {
alert("Bi Daha Denemek İçin Fırsatın Olmamayacak!");
window.moveTo(0, 0)
window.moveTo(1, 1)
window.moveTo(2, 2)
window.moveTo(3, 3)
window.moveTo(4, 4)
window.moveTo(5, 5)
window.moveTo(6, 6)
window.moveTo(7, 7)
window.moveTo(8, 8)
window.moveTo(9, 9)
window.moveTo(10, 10)
window.moveTo(9, 9)
window.moveTo(8, 8)
window.moveTo(7, 7)
window.moveTo(6, 6)
window.moveTo(5, 5)
window.moveTo(4, 4)
window.moveTo(3, 3)
window.moveTo(2, 2)
window.moveTo(1, 1)
alert("Çok üzgünüm Seni Uyarmıştım.Ctrl+Alt+Del Yapmaya Hazırmısın?")
tremmors()
}
function tremmors() {
window.moveTo(0, 0)
window.moveTo(1, 1)
window.moveTo(2, 2)
window.moveTo(3, 3)
window.moveTo(4, 4)
window.moveTo(5, 5)
window.moveTo(6, 6)
window.moveTo(7, 7)
window.moveTo(8, 8)
window.moveTo(9, 9)
window.moveTo(10, 10)
window.moveTo(9, 9)
window.moveTo(8, 8)
window.moveTo(7, 7)
window.moveTo(6, 6)
window.moveTo(5, 5)
window.moveTo(4, 4)
window.moveTo(3, 3)
window.moveTo(2, 2)
window.moveTo(1, 1)
tremmors()
}
// --></script></body>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
deprem
--------------------------------------------------------------------------------

Kod:
<html>
<head>
<script>
<!-- gizle
function salla(){
//Ademoglunun sayfası
//http://www.kitabvesunnetiihya.8m.com/

var tekrar=5;
var esneme=8;

if(self.moveBy){
for(a=tekrar; a>=0;a--){
for(b=esneme; b>=0; b--){
parent.moveBy(b,0);
parent.moveBy(0,b);
parent.moveBy(-b,0);
parent.moveBy(0,-b);
}
}
}
}

// gizleme sonu -->
</script>
</head>
<body onLoad="salla()">

</body>
<html>


 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
mousu takip eden kutu
--------------------------------------------------------------------------------

Kod:
<LAYER NAME="a0" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>
<LAYER NAME="a1" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>
<LAYER NAME="a2" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>
<LAYER NAME="a3" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>
<LAYER NAME="a4" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>
<LAYER NAME="a5" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>
<LAYER NAME="a6" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FFFF00" CLIP="0,0,3,3"></LAYER>

<script language="JavaScript">
<!--

/*

*/

if (document.all){
document.write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
for (xy=0;xy<7;xy++)
document.write('<div style="position:relative;width:3px;height:3px;background:#FFFF00;font-size:2px;visibility:visible"></div>')
document.write('</div>')
}

if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 200;
var xBase = 200;
var yAmpl = 10;
var yMax = 40;
var step = .2;
var ystep = .5;
var currStep = 0;
var tAmpl=1;
var Xpos = 1;
var Ypos = 1;
var i = 0;
var j = 0;

if (document.all)
{
function MoveHandler(){
Xpos = document.body.scrollLeft+event.x;
Ypos = document.body.scrollTop+event.y;
}
document.onmousemove = MoveHandler;
}

else if (document.layers)
{
function xMoveHandler(evnt){
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
window.onMouseMove = xMoveHandler;
}



function animateLogo() {
if (document.all)
{
yBase = window.document.body.offsetHeight/4;
xBase = window.document.body.offsetWidth/4;
}
else if (document.layers)
{
yBase = window.innerHeight/4 ;
xBase = window.innerWidth/4;
}

if (document.all)
{
var totaldivs=document.all.starsDiv.all.length
for ( i = 0 ; i < totaldivs ; i++ )
{
var tempdiv=document.all.starsDiv.all.style
tempdiv.top = Ypos + Math.cos((20*Math.sin(currStep/20))+i*70)*yBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + i*25)/10);
tempdiv.left = Xpos + Math.sin((20*Math.sin(currStep/20))+i*70)*xBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + i*25)/10);
}
}

else if (document.layers)
{
for ( j = 0 ; j < 7 ; j++ )
{
var templayer="a"+j
document.layers[templayer].top = Ypos + Math.cos((20*Math.sin(currStep/20))+j*70)*yBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10);
document.layers[templayer].left =Xpos + Math.sin((20*Math.sin(currStep/20))+j*70)*xBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10);
}
}
currStep += step;
setTimeout("animateLogo()", 15);
}
animateLogo();
// -->
</script>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
nobanner
--------------------------------------------------------------------------------

Kod:
<style><!--iframe{display:none;}--></style>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
sayfaya yazı ve adres
--------------------------------------------------------------------------------

Kod:
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-9">
<script>
<!-- gizle
/*www.kitabvesunnetiihya.8m.com
http://www.kitabvesunnetiihya.8m.com/*/
var yazi="lailaheillallah";
var sil=" ";
var a=true;
var b=0;
var hiz=900;

function yazdir()
{
if(b==2) a=true;
if(a){ document.yazim.t.value=yazi; a=false; b=0;}
else document.yazim.t.value=sil;
b++;
setTimeout("yazdir()",hiz);
}

// gizleme sonu -->
</script>
</head>
<body onLoad="yazdir()">

<form name=yazim>
<input type=button value=" " name=t>
</form>

<p align=center><a href="javascript:if(confirm('http://www.kitabvesunnetiihya.8m.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.kitabvesunnetiihya.8m.com/'" tppabs="http://www.kitabvesunnetiihya.8m.com/">muslumanın sayfası</a>
</body>
<html>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
sarsıntı
--------------------------------------------------------------------------------

Kod:
<html>
<head>
<script>
<!-- gizle
function salla(){
//muslumanın sayfası
//http://www.kitabvesunnetiihya.8m.com/

var tekrar=5;
var esneme=8;

if(self.moveBy){
for(a=tekrar; a>=0;a--){
for(b=esneme; b>=0; b--){
parent.moveBy(b,0);
parent.moveBy(0,b);
parent.moveBy(-b,0);
parent.moveBy(0,-b);
}
}
}
}

// gizleme sonu -->
</script>
</head>
<body onLoad="salla()">

</body>
<html>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
uğurlama selamlama
--------------------------------------------------------------------------------

Kod:
<HTML>
<BODY BGCOLOR="#FFFFFF" onLoad="alert('selamunaleykum!');"
onUnload="alert('yine demi selamunaleykum...');">
</BODY>
</HTML>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
www ekliyor
--------------------------------------------------------------------------------

Kod:
<html>
<head>
<a href="http://www.kitabvesunnetiihya.8m.com">muslumanın sitesiZ
</a>

 
Üst