Home > How To > How To Hide Javascript Code From View Source

How To Hide Javascript Code From View Source

Contents

http://www.heckdesigns.com/tutorials/tutorial-disabling-keyboard-keys-with-javascript/ Any Idea? -Thanks PaulOB 2013-12-22 17:35:03 UTC #2 edge82 said: Any Idea? How to explain lack of flatland? Solution 5 Accept Solution Reject Solution You can develop your website using Silverlight. The only solution is not to put anything on the web that you don't want copied. http://webmakerslounge.com/how-to/div-0-error-hide.html

Yeah, he did :) And im female.... -1 Discussion Starter Q8iEnG 8 Years Ago That's awesome :D never seen before a female programmer :D that's cool :D 0 Shanti C 106 In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms The View Source function is also available through the top Menu. more hot questions question feed lang-cs about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation http://stackoverflow.com/questions/11427747/how-to-disable-html-view-source-or-encrypt-html-elements-programatically

How To Hide Javascript Code From View Source

up vote 0 down vote favorite For some reasons, I have to disable view source for my html. Permalink Posted 14-Mar-12 0:12am perilbrain5.5K Rate this: Please Sign up or sign in to vote. Would you like to answer one of these unanswered questions instead? share|improve this answer answered Jul 11 '12 at 7:52 Oleg V.

Type that link into the browser and it asks you to save it. by mohan. But i would like to achieve it programatically using scripts, applets or whatever. Hide Html Source Code Using Php I don't want anyone who view the source and paste it into an editor and change the data and reprint it.

And the user can look at it's sourcecode...at the latest in the Temporary-Internetfiles-Directory, but... How To Hide Html Source Code Using Javascript Antio right scrips do not work if javascript is disabled, removing the tool bars does not work in all browsers. Relying on JavaScript to protect business logic and intellectual property it's a dive. You could try using a frameset which only includes a single frame that has the source as your page then when the user clicks on the View/Source option they would only

Sci-fi book about people living in a giant bubble in space If the co-signer on my car loan dies, can the family take the car from me like they're threatening to? Hide Source Code Of A Web Page Solution 2 Accept Solution Reject Solution As mentioned by Shivapragasam, it's not worth doing this - you can always use web developer tools such as firebug to view everything you want about a What's the fastest way to generate a 1 GB file containing only random numbers? Now you can right-click all you want.

How To Hide Html Source Code Using Javascript

Stuff that is displayed on a browser is open source.....The way it should be....My 2 Cents Eric Manish Hatwalne Ranch Hand Posts: 2596 I like... http://www.htmlgoodies.com/beyond/article.php/3875651/Web-Developer-Class-How-to-Hide-your-Source-Code.htm Insults are not welcome. How To Hide Javascript Code From View Source The name says it all. How To Encrypt Html Source Code the disabled right click is possible with javascript, but dont do it.

You can use all the JS you want but users can just view source to get the code or indeed just turn javascript off. have a peek at these guys Cons: Notoriously hard to get working across browsers and to actually work properly. your displaying page could contain something like this: ... ... Then pack it in a Frameset. So why annoy your users trying to? Disable View Source In Browser Javascript

Please include your IP address in your email. e : event; var eventbutton = (isNS) ? That is because JavaScript, by nature, has limited control on client side. http://webmakerslounge.com/how-to/how-to-hide-div-0-in-excel-2010.html Any Javascript you code can be rendered moot by simply turning off Javascript on the browser (or using a plugin like NoScript).

Build the page entirely with javascript in a .js file and then call the .js file from your HTML. How To Disable Ctrl+u On Webpage HTML is an open-source language. But hiding (or "encrypting") your source, won't do much of anything at all.

If you want to disable view source from a browser menu, you will have to force open a new window with menubar/toolbar disabled.

How do I get the last lines of dust into the dustpan? You could try using a frameset which only includes a single frame that has the source as your page then when the user clicks on the View/Source option they would only There were some third party tools (Html Guardian ) to encrypt html and use them. How To Disable View Page Source In Php oncontextmenu="return false" onselectstart="return false" ondragstart="return false" 0 p2pcast 3 Years Ago Thanks a lot Quasimodo8.

The source for the javascript is: http://www.immihelp.com/common/utils.js share|improve this answer edited May 23 '14 at 11:00 katalin_2003 3221719 answered Jul 6 '11 at 13:35 bluefeet♦ 149k33201282 add a comment| up vote Is a world with two different types of air possible? Message Insert Code Snippet Alt+I Code Inline Code Link H1 H2 Preview Submit your Reply Alt+S Ask a Different Web Development Question Related Articles How to stop view Source Code in this content hth, bear [Asking smart questions] [About Bear] [Books by Bear] Ivan Tamayo Ranch Hand Posts: 49 posted 13 years ago This question is equivalent to: "I�ve sent a file to

You can attempt to circumvent unknowledgeable users from seeing the source, but it won't stop anyone who understands how to use menu's or shortcut keys. It's a mechanism that companies like to try to use to control how people can connect to their services, use their content and in general, try to exert control over their But as per your need you can do the following: 1. They fooled you.

Hard data on students' reasons for being students "Here you are & Here you go" What will you bring for Thanksgiving? This is an issue that larger companies deal with often. machine learning Head, Shoulders, Knees and Toes, Knees and Toes Should I have doubts if the organizers of a workshop ask me to sign a behavior agreement upfront? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Flashback from 10-15 years ago! –Devin Burke Jul 6 '11 at 13:38 8 Can't rightclick? This is more a conceptual question … javascript automatic motion 4 replies Hi there, I am reading a javascript book and I got a little stuck when analysing one of the system 2014-10-08 05:22:33 UTC #7 Home Categories FAQ/Guidelines Terms of Service Privacy Policy Powered by Discourse, best viewed with JavaScript enabled Podcast Articles Premium FAQs Search RecentTopics FlaggedTopics HotTopics Best Topics asked 2 years ago viewed 2923 times active 1 year ago Upcoming Events 2016 Community Moderator Election ends in 3 days Linked 165 How do I disable right click on my

I'm not saying hiding content is a good idea (it's up to the owner what he wants) I'm just saying it works. –Karoly Horvath Jul 12 '11 at 20:55 add a Forbidden.You don't have permission to view this page.https://www.quora.comPlease email [email protected] if you believe this is an error. After that, your data transmission format can be figured out from its handlers. Is there a mean-value theorem for volume integrals?

Let's work to help developers, not make them feel stupid. Volkov 13.9k22748 add a comment| up vote 0 down vote There is a small possibility to use some Asynchronous Model Definition (AMD) libraries like CommonJS, RequireJS, where You define and import Isn't there Any Hope? Others, like FireFox, include tools like the DOM Inspector, which allows you to easily view and copy the XML of the page, decrypted.

No matter what you do, you can't prevent users from having full access to every bit of data on your website.