/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] Preventing user from View>Source a webpage.

Hello everybody!

I used to believe that once a web-page is displayed on a personal computer, choosing “source” command from “view” menu on IE browser – mainly – inevitably shows the code of such web-page, until I came across this one: “[URL]http://www.ewaseet.com[/URL]“. I could not “save as” it! nor even I could list the code by choosing “source” command from “view” menu!

Could someone, please, tell me how this could be done on IE browser or the like?

to post a comment
JavaScript

7 Comments(s)

Copy linkTweet thisAlerts:
@KorJan 29.2008 — are you kiddin? View source works ok, there is no way to hide a client-side code...
Copy linkTweet thisAlerts:
@mrhooJan 29.2008 — I have no trouble viewing the source of that site in firefox, opera or IE7.
Copy linkTweet thisAlerts:
@mrhooJan 29.2008 — I have no trouble viewing the source in firefox, opera or IE7.

I can't say about older IEs or macs, but there is a lot of cdata.

(Sorry- I didn't mean to post twice)
Copy linkTweet thisAlerts:
@WattsJan 29.2008 — In IE6 it keeps notepad (or whatever program you choose) from opening to display the source. If you turn off active scripting in your security settings then you can view the source. So there must be a javascript that does something, but I've never been curious enough to find out.
Copy linkTweet thisAlerts:
@felgallJan 29.2008 — There is only one way to prevent people viewing the source of a web page - don't place the source on the web.
Copy linkTweet thisAlerts:
@Lotfi_MAauthorJan 31.2008 — kor, LeeU, mrhoo, Watts & felgall!

Thank you very much gentlemen for your participations. It seems, as Watts said, there is something in my browser settings is or to be cchanged.
×

Success!

Help @Lotfi_MA 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...