If you do not want people to look at the web page source code, how do you hide the source code in Vbulletin?
how to hide webpage source code?
Collapse
X
-
Tags: None
-
-
it's not possible, but you can make it difficult for the "average" user to get... i'm currently using the following script within my web pages and am wondering if it would be possible to add this into one the the vB templates, perhaps header?
HTML Code:<script language=JavaScript> <!-- var message="Function Disabled!"; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") // --> </script>
Comment
-
Actually, disabling the drag method is a bunch simpler than that. But anyone who knows HTML can get around that in about 5 seconds.Comment
Related Topics
Collapse
-
by marianoaranI'm trying to incorporate a chat tool (Zopim) in my forum so the admin can talk to users that need help.
I'm putting this code in the "Header Ad HTML Module" and the chat tool loads...-
Channel: Support Issues & Questions
-
-
by LockedOnLawI'm trying to add a simple HTML script with CSS and JS to a static HTML module.
The HTML and CSS are working perfectly.
The jquery meta tag is breaking the page.
...-
Channel: Support Issues & Questions
-
Comment