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

4 replies · 3,846 views · started 15 years ago · 1 min read

3 participants
something else Fellow · 2,296 posts #2

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

something else Fellow · 2,296 posts #4

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

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close