how do i hide my view source or don't allow the user to see the view source or some vaildation for that.
please come to my request positively
please come to my request positively
if (window.Event)
document.captureEvents(Event.MOUSEDOWN);
function noRightClick(evt) {
if (window.Event) {
if (evt.which > 1) {
return false;
}
return true;
}
return true;
}
document.onmousedown = noRightClick;
function noContextMenu() {
event.cancelBubble = true;
event.returnValue = false;
return false;
}
document.oncontextmenu = noContextMenu;
Comment