Post new topic Reply to topic  [ 3 posts ] 
[BBCode] Block "select" 
Author Message
Portuguese Support

Joined: Mon May 04, 2009 9:40 pm
Posts: 213
 [BBCode] Block "select"
Hi all

To block de "select" effect of your mouse on the screen, to prevent unauthorized copies of your posts


BBCode:

Code:
[select][/select]




HMTL substitution


Code:
<script language="JavaScript1.2">

function disabletext(e){
return false
}

function reEnable(){
return true
}

//if the browser is IE4+
document.onselectstart=new Function ("return false")

//if the browser is NS6
if (window.sidebar){
document.onmousedown=disabletext
document.onclick=reEnable
}
</script


Helpline:

put those tags at the begining or at the end of your posts/topics

Code:
[select][/select]



For a better protection (but not 100% of course!) you can add the "right button" tags... see it here: bbcode-right-mouse-button-t2157.html


Sat Mar 05, 2011 12:48 am
Profile E-mail
User avatar

Joined: Mon May 12, 2008 2:39 am
Posts: 805
Post Re: [BBCode] Block "select"
Thanks, xupaulo. Learning something new every day :)


Sat Mar 05, 2011 8:36 pm
Profile
Portuguese Support

Joined: Mon May 04, 2009 9:40 pm
Posts: 213
---------
Post Re: [BBCode] Block "select"
thanks Steve ;)


Sat Mar 05, 2011 10:12 pm
Profile E-mail
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron