Jumat, 22 Juli 2011

Kumpulan Script2 Navigasi Perang Kaum


1. Screen Barak

javascript:function gup(name)
{
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if( results == null )
return "";
else
return results[1];
}
function end(){
var d=document;
if(window.frames.length>0)d=window.main.document;
url=d.URL;
var lid=gup('screen');
window.location.href=url.replace(lid,'barracks');
}
end();
2. Screen ISTAL
javascript:function gup(name)
{
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if( results == null )
return "";
else
return results[1];
}
function end(){
var d=document;
if(window.frames.length>0)d=window.main.document;
url=d.URL;
var lid=gup('screen');
window.location.href=url.replace(lid,'stable');
}
end();
3. Screen Bengkel
javascript:function gup(name)
{
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if( results == null )
return "";
else
return results[1];
}
function end(){
var d=document;
if(window.frames.length>0)d=window.main.document;
url=d.URL;
var lid=gup('screen');
window.location.href=url.replace(lid,'garage');
}
end()

4. Screen Bangunan
javascript:function gup(name)
{
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if( results == null )
return "";
else
return results[1];
}
function end(){
var d=document;
if(window.frames.length>0)d=window.main.document;
url=d.URL;
var lid=gup('screen');
window.location.href=url.replace(lid,'main');
}
end();
5. Screen ALUN-ALUN
javascript:function gup(name)
{
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if( results == null )
return "";
else
return results[1];
}
function end(){
var d=document;
if(window.frames.length>0)d=window.main.document;
url=d.URL;
var lid=gup('screen');
window.location.href=url.replace(lid,'place');
}
end();
6. Screen Pasar
javascript:function gup(name)
{
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if( results == null )
return "";
else
return results[1];
}
function end(){
var d=document;
if(window.frames.length>0)d=window.main.document;
url=d.URL;
var lid=gup('screen');
window.location.href=url.replace(lid,'market');
}
end();

7. Navigasi Antar Desa
Script ini dibuat pada bookmark setiap 1 desa 1 bookmark pada isian "idvillage desa" diisi kode desa tujuan
javascript:function gup(name)
{
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if( results == null )
return "";
else
return results[1];
}
function end(){
var d=document;
if(window.frames.length>0)d=window.main.document;
url=d.URL;
var lid=gup('village');
window.location.href=url.replace(lid,'idvillage desa');
}
end();

PK Jengkel Banyak report?

Nih script yang ngebantu ngapusin report

javascript:function end(){
var d=document;
if(window.frames.length>0)d=window.main.document;
url=d.URL;
if(url.indexOf('screen=report')==-1)
{
alert('Script harus dijalankan pada form laporan');
return;
}
d=document;
selectAll(d.forms[0],true);
d.forms[0].del.click();
}
end();