Monday, August 16, 2010

Disable Selection On Webpages

onselectstart="return false;" style="user-select:none;-moz-user-select:none;"

if we have given like this then we can block the selection on a webpage
basically this will not allow a copy paste.

onselectstart="return false - is basically for the IE

;-moz-user-select:none - is for mozilla


user-select:none is the W3 standards which should follow in all the browsers  :)


Post a Comment