/    Sign up×
Community /Pin to ProfileBookmark

Hi, a noob here. I have tried to learn how to stop people from right clicking on my site to view the source. with no luck. can anyone please help,

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@the_treeAug 14.2005 — [SIZE=7]This cannot be done[/SIZE]

Well some will tell you that you can do it with javascript wich to some extent you can but 1) it can be easily worked around 2) it bugs users who just want to use thier browsers context menus without wanting to steal any of your precious code.

Browsers work by interpreting source code, so it's always going to be there (on your visitors computer) and your visitors will always be able to get at it.

Not meant in an offensive way but if your understanding of the browsers leads you to belive that it's possible to hide your source code then you probably don't have anything worth stealing.
Copy linkTweet thisAlerts:
@UncutnellyauthorAug 14.2005 — ty tree you were most helpful.. and you were right ..lol...thank you again
×

Success!

Help @Uncutnelly spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...