هذا الكود لعرض وصله جديدة كل يوم (من الممكن يكون خبر أو اعلان محدد بيوم معين كل اسبوع
كود:
<html>
<head>
<****** language="Java******">
//******************************************************
// * ****** from
[ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط]// * Phone and internet services, tools*
// * You can use this code if you leave this message*
// ******************************************************
function GetTodaysURL()
{
var locationlist = new URLList
(
"1.html", // Monday
"2.html", // Tuesday
"3.html",
"4.html",
"5.html",
"6.html",
"7.html" // Sunday
);
now = new Date();
num = now.getDay();
if (num == 0) num = 7;
location.href = locationlist.list[num-1];
}
function URLList ()
{
var argv = URLList.arguments;
var argc = argv.length;
this.list = new Object();
for (var i = 0; i < argc; i++)
this.list[i] = argv[i];
this.count = argc;
return this;
}
</******>
</head>
<body>
Example of the code, choosing
<a href="java******:GetTodaysURL()">
the page of that day</a>.
Tomorrow here will be shown another page.
</body>
</html>
رساله تظهر عند اغلاق او مغادرة موقعك لموقع اخر تخبر الزائر اذا اراد الأنتقال لصفحة اخر بالموقع واذا اختار لا تظهر رساله حظا موفق
كود:
<****** language="Java******">
<!--
// ******************************************************
// * ****** from
[ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط] created
[ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط] // * Phone and internet services, tools*
// * You can use this code if you leave this message*
// ******************************************************
function Create****ie(name, value, expiredays)
{
var todayDate = new Date();
todayDate.setDate(todayDate.getDate() + expiredays);
document.****ie = name + " = " + value + "; expires=" +
todayDate.toGMTString() + ";";
}
function Read****ie(****iename)
{
var numOf****ies = document.****ie.length;
var nameOf****ie = ****iename + "=";
var ****ieLen = nameOf****ie.length;
var x=0;
while (x <= numOf****ies)
{
var y = (x + ****ieLen);
if (document.****ie.substring(x, y) == nameOf****ie)
return(Extract****ieValue (y));
x = document.****ie.indexOf(" ", x) + 1;
if (x == 0)
break;
}
return null;
}
function Extract****ieValue(val)
{
if ((endOf****ie = document.****ie.indexOf(";", val)) == -1)
{
endOf****ie = document.****ie.length;
}
return unescape(document.****ie.substring(val, endOf****ie));
}
function GoodBye()
{
if (confirm("\nWould you like to visit my another webmasters resorse before leaving?\n"))
{
alert("\nThank you!\n");
window.open("http://www.ldpoint.com/master.html ");
}
else
{
alert("\nSee you again\n Good Luck!\n");
return false;
}
}
function MainGoodBye()
{
var user****ie = Read****ie("_chups");
if (user****ie == null)
{
// user is here at first time
//propose to visit site
GoodBye();
//create ****kie key (30 days)
Create****ie("_chups", 1, 30);
}
}
//-->
</******>
========================================
شاشة باسورد بالجافا
<!-- Passworder ****** -->
// ******************************************************
// * ****** from
[ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط]// * Phone and internet services, tools*
// * You can use this code if you leave this message*
// ******************************************************
<****** language="Java******">
pass = prompt('Insert the password');
if (pass=='1-java') { alert('2-good password') } else { alert('3-right password is... Go to 404'), top.location.href="4 - missing.html" }
</******>
<!-- Passworder ****** END -->
اجعل موقعك بمساحة الشاشة كلها
كود:
<........................>
<!--
/*HackerLand */
function winopen(){
var targeturl="http://أكتب اسم موقعك هنا"
newwin=window.open("","","scrollbars")
if (document.all){
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
}
newwin.location=targeturl
}
//-->
//Hackers land !!
</........................>
<form>
<input type="button" onClick="winopen()" value="دخول الموقع"style="background-color: rgb(255,255,255); color: rgb(0,0,0)">
</form>
تجميد الصفحه على من يحاول السرقه
كود:
<td align="center" colspan="2" nowrap height="6"
style="background-color: #999999; border: 6 ridge #0000FF"><form
action="http://spcialman.search.everyone.net/search/search/SearchResults"
method="post" rel="nofollow" target="newwindow">
<p><font color="#000000" size="3"
face="Arial,Helvetica, sans-serif"><b>Search</b> <select
name="e.searchNID" size="1">
<option value="394173">MP3</option>
<option value="394183">Media</option>
<option value="394174">Shareware</option>
<option value="394180">Computers</option>
<option value="394179">Usenet</option>
<option value="394175">Health</option>
<option value="394182">Politics</option>
<option value="394181">Employment</option>
<option value="394176">Sports</option>
<option value="394177">Kids</option>
<option value="394185">Business</option>
<option value="394186">Education</option>
<option value="394184">Sciences</option>
<option value="394178">Entertainment</option>
<option selected value="394172">The Web</option>
</select><br>
</font><font color="#000000" size="4"
face="Arial,Helvetica, sans-serif"><input type="text"
size="12" name="e.searchQuery"> <input type="submit"
name="e.newSearch" value="Go"> <br>
</font><a href="http://www.spcialman.cjb.net"
rel="nofollow" target="newwindow"><font color="#0000FF" size="3"><b><i><font rel="nofollow" target="newwindow"></font></i></b></font></a><a
href="http://www.spcialman.cjb.net"
rel="nofollow" target="newwindow"><font color="#0000FF" size="3"><b><i>Powered
By D7omy-Hacker </i></b></font></a><a
href="http://www.spcialman.cjb.net"
rel="nofollow" target="newwindow"></a><font size="4"> </font></p>
</form>رساله تسأل الشخص عن اسمه عن دخول صفحتك
كود:
</........................>
<........................ LANGUAGE="Java........................">
name=window.prompt("يا هلا ","اكتب اسمك هنا ");
document.write("<H1 align=center> هلا والله "+name+"</H1>")
//-->
كتابات تتبع الماوس
كود:
<HTML><HEAD><style>.spanstyle { COLOR: Red; FONT-FAMILY: Verdana; FONT-SIZE: 8pt; FONT-WEIGHT: bold; POSITION: absolute; TOP: -50px; VISIBILITY: visible}</style><........................ LANGUAGE="Java........................"><!-- Beginvar x, y;var step = 10;var flag = 0;var message = " Hackers Land ";message = message.split("");var xpos = new Array();for (i = 0; i <= message.length - 1; i++) {xpos[i] = -50;}var ypos = new Array();for (i = 0; i <= message.length - 1; i++) {ypos[i]= -50;}function handlerMM(e) {x = (document.layers) ? e.pageX : document.body.scrollLeft + event.clientX;y = (document.layers) ? e.pageY : document.body.scrollTop + event.clientY;flag = 1;}function makesnake() {if (flag == 1 && document.all) {for (i = message.length - 1; i >= 1; i--) {xpos[i] = xpos[i - 1] + step;ypos[i] = ypos[i - 1];}xpos[0] = x + step;ypos[0] = y;for (i = 0; i < message.length - 1; i++) {var thisspan = eval("span" + (i) + ".style");thisspan.posLeft = xpos[i];thisspan.posTop = ypos[i]; }}else if (flag==1 && document.layers) {for (i = message.length - 1; i >= 1; i--) {xpos[i] = xpos[i - 1] + step;ypos[i] = ypos[i - 1];}xpos[0] = x + step;ypos[0] = y;for (i = 0; i < message.length - 1; i++) {var thisspan = eval("document.span" + i);thisspan.left = xpos[i];thisspan.top = ypos[i]; }}var timer = setTimeout("makesnake()", 10);}// End --></........................></HEAD><body onload="makesnake()" style="OVERFLOW-X: hidden; OVERFLOW-Y: scroll; WIDTH: 100%"><........................ LANGUAGE="Java........................"><!-- Beginfor (i = 0; i <= message.length-1; i++) {document.write("<span id='span"+i+"' class='spanstyle'>");document.write(message[i]);document.write("</span>");}if (document.layers) {document.captureEvents(Event.MOUSEMOVE);}document .onmousemove = handlerMM;// End --></........................></BODY>
ذا الكود يكتب لك معلومات عن الزئر =نادر جدا
<........................ Language="Java........................">document.w rite(navigator.app Name)document.write(navigator.appVersion)</........................>
__________________