Anti Source Viewer using javascript its not effective and maybe your site load too slow or can't be viewed with some browser
Anti Source Viewer and anti grabber using php
Started on the old forum in September 2011 · view the original in the archive · old links redirect here
No Javascript is used in the code above (its all php) - so it wont slow your site down 😛
This does not stop you viewing source - this script just stops grabbers that are using php get_file_contents() - unfortunately it does not protect against CURL
ok, for no right click, don't use javascript...
simple way, add this:
oncontextmenu="return false;"
to your body tag like this:
<body oncontextmenu="return false;">
and no more right click, n no javascript needed...
C3 Themes: http://c3themes.wen.ru/index.html Find Files: http://mystarter.tk/?goto=X-search
oncontextmenu="return false;" is javascript and wont slow your site down - js can be used to improve the speed of long html codes.
Also with javascript if you place it at the bottom of your script then everything will load first so you wont notice the difference in load time
oncontextmenu="return false;" is javascript? i thought it was html5, oh well. i learn something new every day, lol...
C3 Themes: http://c3themes.wen.ru/index.html Find Files: http://mystarter.tk/?goto=X-search