Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to stop viewing the Source code PHP?
09-15-2016, 03:23 PM (This post was last modified: 09-15-2016 03:27 PM by bivash.)
Post: #1
How to stop viewing the Source code PHP?
Hello to everybody,
I have some question concerning blocking view source from main menu of
IE or MF. I am able to block right click with <body
oncontextmenu="return false"> but still missing from main View->Source
Code.
Any hints ?
Find all posts by this user
Like Post Quote this message in a reply
09-30-2016, 05:02 PM
Post: #2
RE: How to stop viewing the Source code PHP?
<script language="javascript">
document.onmousedown=disableclick;
status="Right Click Disabled";
function disableclick(event)
{
if(event.button==2)
{
alert(status);
return false;
}
}
</script>




And


<body oncontextmenu="return false">
...
</body>

big grin Get It Free happy
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
10-02-2016, 06:42 AM (This post was last modified: 10-02-2016 06:43 AM by bivash.)
Post: #3
RE: How to stop viewing the Source code PHP?
ur wrong bro..
it is working only.
lock ctrl+u & disable right click
..do not lock main main View->Source
Code.,,
so u r wrong

(09-30-2016 05:02 PM)TamiZhan Wrote:  <script language="javascript">
document.onmousedown=disableclick;
status="Right Click Disabled";
function disableclick(event)
{
if(event.button==2)
{
alert(status);
return false;
}
}
</script>




And


<body oncontextmenu="return false">
...
</body>
ur wrong bro..
it is working only.
lock ctrl+u & disable right click
..do not lock main main View->Source
Code.,,
so u r wrong
Find all posts by this user
Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)