gw cuma mo mindahin ini ke Forum Indo doank...
lagipula kaiia'a ini perlu banged buat para seniman..terutama seniman puisi...
bagi yang suka membuat KARYA TULIS(apa aja) yang di muat di friendster..apalagi buatan sendiri...
pasti'a ga mau di contek kan..??
neeh gw kasih code'a..biar ga bisa di contek...
Credit to : [url=http://theftalk.com/p=dekha_21][b]dekha_21[/b][/url]
[url][b]www.dinamicdrive.com[/b][/url]
[quote]/***********************************************
* Disable Text Selection script- © Dynamic Drive DHTML code library (
www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at
http://www.dynamicdrive.com/ for full source code
***********************************************/
function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
target.style.MozUserSelect="none"
else //All other route (ie: Opera)
target.onmousedown=function(){return false}
target.style.cursor = "default"
}
//Sample usages
//disableSelection(document.body) //Disable text selection on entire body
//disableSelection(document.getElementById("mydiv"))
//Disable text selection on element with id="mydiv"
var alltables=document.getElementsByTagName("table")
for (var i=0; i<alltables.length; i++)
disableSelection(alltables[i]) //disable text selection within all tables on the page[/quote]
bikin file baru..save sebagai [b]disable.js[/b]
trus di injek...
[quote]//***** DISABLE SELECT TEXT *****//
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "[b]
http://h1.ripway.com/username/disable.js[/b]";
document.getElementsByTagName("head")[0].appendChild(myjs);[/quote]
taruh script ini di Bagian A/paling atas JS kamu.....
klo yang punya banyak script..ini untuk injek'a..
[quote]//ALL JS INJECTION
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "[b]JS1[/b]";
myjs.src = "[b]JS2[/b]";
myjs.src = "[b]JS3[/b]";
document.getElementsByTagName("head")[0].appendChild(myjs);[/quote]
muga bisa..
tengs all.....
..................
nge-hunt script lagi....
Last edited by dj_afran (2008-07-12 16:05:03)