Sie sind auf Seite 1von 8

Script ini hanya jalan di Internet Explorer

--------------
contoh buka: http://www.ilmuwebsite.com/javascript/hujan-cinta.htm
<html>
<head>
</head>
<body bgcolor="black">
<body>
<!-- file "ani_heart.gif" bisa kamu ganti sendiri terserah -->
<script language="JavaScript1.2">
<!-- Begin
var no = 12; // number of hearts
var speed = 10; // smaller number moves the hearts faster
var heart = "ani_heart.gif";
var flag;
var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
amx = new Array();
amy = new Array();
stx = new Array();
sty = new Array();
flag = new Array();
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-30)+10; // set position variables
yp[i] = Math.random()*doc_height;
amy[i] = 12+ Math.random()*20; // set amplitude variables
amx[i] = 10+ Math.random()*40;
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
flag[i] = (Math.random()>0.5)?1:0;
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(heart+ "\" border=\"0\"></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(heart+ "\" border=\"0\"></layer>");
}
} else
if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(heart+ "\" border=\"0\"></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(heart+ "\" border=\"0\"></div>");
}
}
}
function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
if (yp[i] > doc_height-50) {
xp[i] = 10+ Math.random()*(doc_width-amx[i]-30);
yp[i] = 0;
flag[i]=(Math.random()<0.5)?1:0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
if (flag[i])
dx[i] += stx[i];
else
dx[i] -= stx[i];
if (Math.abs(dx[i]) > Math.PI) {
yp[i]+=Math.abs(amy[i]*dx[i]);
xp[i]+=amx[i]*dx[i];
dx[i]=0;
flag[i]=!flag[i];
}
document.layers["dot"+i].top = yp[i] + amy[i]*(Math.abs(Math.sin(dx[i])+dx[i]));
document.layers["dot"+i].left = xp[i] + amx[i]*dx[i];
}
setTimeout("snowNS()", speed);
}
function snowIE() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
if (yp[i] > doc_height-50) {
xp[i] = 10+ Math.random()*(doc_width-amx[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
flag[i]=(Math.random()<0.5)?1:0;
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
if (flag[i])
dx[i] += stx[i];
else
dx[i] -= stx[i];
if (Math.abs(dx[i]) > Math.PI) {
yp[i]+=Math.abs(amy[i]*dx[i]);
xp[i]+=amx[i]*dx[i];
dx[i]=0;
flag[i]=!flag[i];
}
document.all["dot"+i].style.pixelTop = yp[i] + amy[i]*(Math.abs(Math.sin(dx[i])+
dx[i]));
document.all["dot"+i].style.pixelLeft = xp[i] + amx[i]*dx[i];
}
setTimeout("snowIE()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
// End -->
</script>
</center>
</body>
</html>
Sumber dari situs php dengan judul Hujan Cinta
Diposkan oleh zeusman di 05:07 0 komentar
Kamis, 2008 Februari 07
Pernah gak temen2 ngerasain pas lagi warnet yang walaupun sepi user tapi buat br
owsing ttp pelan, download juga pelan bgt... itu karena tiap bilik/room udah di
batasi bitrate n bandwithnya... nah sekarang masalah itu mungkin bisa teratasi d
engan cara ini, caraX:
1). Buka Browser Mozilla Firefox
2). Pada Address Bar Ketik : about:CONFIG
3). Cari string di bawah ini : ( pastikan semua srting dibawah "TRUE")
contoh menggantingnya :
NETWORK.HTTP.PIPELINING FALSE ==> klik kanan dan pilih "Toggle"
NETWORK.HTTP.PIPELINING TRUE
NETWORK.HTTP.PIPELINING.MAXREQUESTS 64
NETWORK.HTTP.PROXY.PIPELINING TRUE
NETWORK.PROXY.SHARE_PROXY_SETTINGS FALSE <=== ini harus False
4). buat srting baru caranya : Klik Kiri 1X Dimana Saja, Klik Kanan [/b]NEW>>INT
EGER[/b]
5). Ketik : NGLAYOUT.INITIALPAINT.DELAY Beri Nilai 0
6). Kemudian REFRESH atau Tekan F5
7). Pada Address Bar Ketik : about:BLANK
Klik Menu:
Untuk OS Windows XP TOOLS>>OPTIONS>>WEB FEATURES
Untuk OS Linux ( Vector ) EDIT >> PREFERENCES
Untuk Setting yang berbeda di beberapa OS EDIT >>ADVANCED
9). Pada Option :
ALLOW WEB SITES TO INSTALL SOFTWARE Beri Tanda Check Box Untuk mengaktifkan
10).Kemudian Tekan OK Lalu REFRESH ( F5 )
11).Masuk Ke Link Ini :
https://addons.mozilla.org/en-US/firefox/addon/125?applicationfiltered=firefox&i
d=125
atau :
https://addons.mozilla.org/extensions/moreinfo.php?id=125&applicationfiltered=fi
refox
12).Download Software SwitchProxy Tool Versi 1.3.4
13).Setelah Selesai Jangan Tekan Tombol UPDATE
14).Klik Tanda X (tutup)Yang Ada Di Pojok Kanan Atas Dari POP UP Window Yang Mun
cul
15).Tutup Semua Browser Mozilla FireFox,
16).Kemudian Buka Lagi Untuk Mengaktifkan Software SwitchProxy Tool Versi 1.3.4
Yang sudah di Install Tadi
17).Kalo Instalasi Sukses, Akan Muncul Toolbar tambahan Di Bawah Toolbar Navigas
i & Address Bar.
Sekarang Browser Mozilla Siap Untuk Digunakan .
:: Message ::
-- Software SwitchProxy Tool Versi 1.3.4 Ini selain untuk Mengganti Proxy Secara
Otomatis Di Browser Mozilla FireFox, Engine-nya Juga Berpengaruh terhadap Kecep
atan Koneksi Internet
-- Cara Ini Sangat Efektif Bila Digunakan Di Warnet Yang Padat Pengunjung untuk
Menyedot Bandwidth ( Mayoritas kecepatan akses Internet ) Ke Komputer Yang Sedan
g Anda Pakai
-- Perubahan Yang Signifikan Terjadi Pada koneksi Internet Dengan BROADBAND / VS
AT
Klik 2x di settingan dan masukin angka-angka ini - untuk true / false booleans m
ereka bakal ganti otomatis begitu klik 2x
Code:
browser.tabs.showSingleWindowModePrefs true
network.http.max-connections 64
network.http.max-connections-per-server 20
network.http.max-persistent-connections-per-proxy 10
network.http.max-persistent-connections-per-server 4
network.http.pipelining true
network.http.pipelining.maxrequests 100
network.http.proxy.pipelining true
network.http.request.timeout 300
network.http.request.max-start-delay = 0
nglayout.initialpaint.delay = 0
If nglayout.initialpaint.delay doesnt exist, Right click, new integer.

Optional:
Code:
network.http.max-persistent-connections-per-proxy = 10
network.http.proxy.pipelining = true
network.http.proxy.version = 1.0

Tutup mozilla trus jalanin lagi.


Sekarang Mozilla lo mengGILAAAAAAAAAA!!!.
WARNING:
Settingan ini bikin lo ngedonlot situs dengan amat KESURUPAN, BUT bikin Overload
luar biasa ke situs yang lo tuju!
Ga bermaksud apa-apa selain kompi lain yang dapat share internet bakal lemod ABE
ZZZ gara-gara lo sedot benwidnya!
Next tip:
Disable IPv6 di Firefox buat bikin sejuk kecepatan load page lo!!........ soalny
a hamper semua site dah ga make IPv4...........
Buka Firefox.........ketik about:config (enter)
cari :Network.dns.disableIPv6
Klik 2x buat ngerubah jadi 'true' trus restart Firefox.
Lo bakal mempercepat akses browsing.........page per page.
Sekarang Firefox bener-bener dah GILAAAAAAAA buat lo!...
nglayout.initialpaint.delay bisa dirubah yg mana aja...bisa 0 bisa 300 ada juga
yg set 30...tergantung kebutuhan.....coba 0 dulu...baru nanti kl ga ada perubaha
n naikan ke 300 atau nilai yg dirasa memuaskan
For ADSL:
Code:
1. Type: about:config
2. Set:
network.http.max-connections : 64
network.http.max-connections-per-server : 21
network.http.max-persistent-connections-per-server : 8
network.http.pipelining : true
network.http.pipelining.maxrequests : 100
network.http.proxy.pipelining : true

3. Lastly right-click anywhere and select New-> Integer. Name it "nglayout.initi


alpaint.delay" and set its value to "0". This value is the amount of time the br
owser waits before it acts on information it recieves. (Copy from TvM)[/code]
For Dial_ip:
Code:
browser.cache.disk_cache_ssl : true
browser.xul.error_pages.enabled : true
content.interrupt.parsing : true
content.max.tokenizing.time : 3000000
content.maxtextrun : 8191
content.notify.backoffcount : 5
content.notify.interval : 750000
content.notify.ontimer : true
content.switch.threshold : 750000
network.http.max-connections : 32
network.http.max-connections-per-server : 8
network.http.max-persistent-connections-per-proxy : 8
network.http.max-persistent-connections-per-server : 4
network.http.pipelining : true
network.http.pipelining.maxrequests : 8
network.http.proxy.pipelining : true
nglayout.initialpaint.delay : 750
plugin.expose_full_path : true
signed.applets.codebase_principal_support : true

Firefox 2.0
Firefox 2.0 hacks
Firefox 2.0 tips
ff 2.0 tips
ff 2.0 hacks
ff 2.0 hacks and review
By: Coldsteal
Homepage: www.i-trash.org
Twats: http://twatech.org/agentinfo.php?host=coldsteal
okay well i don't know if this qualifies as a review but it does have lots of ab
out:config hacks
im not really going to explain the hacks but i will put them in the show notes
Extensions:
when i got ff 2 i was running it on a 64mb p3 695 MHz in xp
and it was slow (mainly because my huge 64mb). so what i did was look
around for how to slim down the Gui and i found this Extensions called stylish
all it did was allow me to install new styles from this site, the site had
a "Slim GUI" theme so i installed it lol but i don't know if it really helped
cuz i rebooted right after i installed it and upgraded my ram to 256mb
i also found another plug in but i didn't install it, maybe some of you want to
try it out
its called httonly the current version is A proof of concept but what it does is
Adds httonly
cookie support by encrypting cookies marked as httonly on the browser side, so t
hat Javascript
cannot read them. basically its a way to stop cookie stealing through XSS. it wa
sn't possible to do this
in ff pre 2.0
okay now for the about:config hacks
i will say the hacks and will also be in the show notes
Disabling 3rd party cookies: There used to be an option to disable them in the o
ptions dialog
box but that was removed in Firefox 2
about:config --> network.cookie.cookieBehavior --> set to 1
Tab scroll: in ff 2 there is now a scrolling feature for the tabs but i think it
s more
of an annoyance because i cant stand to look up and see only 10 tabs and then i
have to scroll thro them
so here is the about config hack to change it
about:config --> browser.tabs.tabMinWidth --> #
#=0 it gets rid of the scrolling annoyance
#=the lower the # the mor tabs can fit b4 scrolling
(i put 0 but 50 probably would be fine for most)
Tab close buttons: okay so now in ff the active tab has an [X] instead of all th
e way on the right
like pre 2.0 and i really didn't like this because i would click on a tab it i w
ould accidentally close it
so i disabled the [X] but you can also move the [X] to the right like pre 2.0
about:config --> browser.tabs.closeButtons --> #
3=[X] on the far right like pre ff 2.0
2=disable [X]
1=[X] on active tab
Session restore: finally Firefox has session restore if it did have it before i
don't remember because
i used to use this extension called session saver but I don t have a need for it a
nymore since its
integrated. By default, Ff 2 automatically restores your session if your browser
crashes -
but this will do it every time you restart your browser normally.
the real nice part about this is it will keep all your previous form entries.
there are to ways to do this the about:config way and the menu way
1st the about:config way
about:config --> browser.startup.page --> 3
okay now the menu way
options --> "When Firefox Starts:" --> "Show my windows and tabs from last time"
from the drop down menu

Limit RAM usage: i was talking to MadRush the other day and he was saying that h
e uses opera allot more now
hes sick of the ram usage in FF so in my 1st twat i did it was about ff and its
hunger for my ram and
how to correct it but only when its minimized so to add 2 it i have 2 more hacks
and with all 3 of them
you can tame ff's hunger for your ram.
The 2nd addition to my 1st twat is browser.cache.disk.capacity
how i understand browser.cache.disk.capacity is how much space ff takes up on yo
ur hdd for its cache
about:config --> browser.cache.disk.capacity --> #
the # by default for me was 5000 but i uped it to 90,000
just play with it till you like it
okay now the 3rd addition to my 1st twat is prefetch-next
ff has this feature that downloads pages from links it thinks you may click on p
ages
you view, like the top result on Google search. i dont like this because im on d
ial up and i need all my
bandwidth. also the more ff is doing the more your cpu and ram have to take
about:config --> network.prefetch-next --> false
disable chrome tool tips:
okay so i don't like tool tips unless its a new program but after a week it gets
real old like in ff
when i put my mouse over the favorite icon it says "Drag and drop this icon to c
reate a link to this page"
i already know that so i have no use for it so I just disable it
about:config --> browser.chrome.toolbar_tips --> false
finally spell check okay anyone in the infonomicon irc channel knows i cannot sp
ell one bit
so i really like this new spell check feature it highlights any misspelled words
and if you right
click on them you get spelling suggestion and an option to add them into a dicti
onary
this about:conf hack will add spell checking in input fields as well as text are
as
about:config --> layout.spellcheckDefault --> 2
In all i really like FF 2.0 but i needed to tame its hunger for my ram and disab
le a few things
but after i did a few about:config hacks i could sit back and surf without any a
nnoyances and without
worried about loosing my tabs if it crashes. i really like the new features such
as spell check and integrated
session restore and all the others i haven't said or found yet my full show note
s will be on my site
i-trash.org and on twat id like to give shutouts to everyone i met at pnx such a
s richiefrich, helamonster,
xavior2180 and all the info ppl and everyone else i didn't mention lol i cant re
ally remember names after all, I
only got 4 hours of sleep while I was there. okay thats it till next time ooo one
last shout out goes to Rachel
because shes basically amazing.
--[SHOW NOTES]--
FIREFOX 2.0
http://www.mozilla.com/en-US/firefox/
stylish xpi
https://addons.mozilla.org/firefox/2108/
"Slim GUI"
http://userstyles.org/style/show/140
httonly xpi
https://addons.mozilla.org/firefox/3629/
about:config
3rd party cookies:
about:config --> network.cookie.cookieBehavior --> set to 1
Tab scroll:
about:config --> browser.tabs.tabMinWidth --> #
#=0 it gets rid of the scrolling annoyance
#=the lower the # the more tabs can fit before scrolling
Tab close buttons:
about:config --> browser.tabs.closeButtons --> #
3=[X] on the far right like pre ff 2.0
2=disable [X]
1=[X] on active tab
Session restore:
the about:config way
about:config --> browser.startup.page --> 3
okay now the menu way
options --> "When Firefox Starts:" --> "Show my windows and tabs from last time"
(from the drop down menu)
Limit RAM usage:(do all 3)
<1st twat hack>
2nd way browser.cache.disk.capacity:
about:config --> browser.cache.disk.capacity --> #
the # by default for me was 5000 but i upped it to 90,000
just play with it till you like it
3rd way prefetch-next:
about:config --> network.prefetch-next --> false
disabel chrome tool tips:
about:config --> browser.chrome.toolbar_tips --> false
spell check:
about:config --> layout.spellcheckDefault --> 2
KLIK DISINI UNTUK LAPOR KALAU INI JUNK!