Home > How To > Javascript Disable Viewsource

Javascript Disable Viewsource

Contents

Let's work to help developers, not make them feel stupid. But when I use right-clicked mouse inside the content of each frames, I can see its content. If your code doesn't need to be secure, however, I'd recommend you consider keeping it open source. :) share|improve this answer answered May 26 '14 at 23:15 tomysshadow 517313 add a So forgive me if … Backbone.js error when trying to use together with php 1 reply Hello, I was following series of tutorials http://net.tutsplus.com/tutorials/javascript-ajax/build-a-contacts-manager-using-backbone-js-part-5/ 5 part is not finished yet. Source

Is using "you" to refer to anyone, not the person you're talking to, a known, specific grammar form? Does using documentation as a developer make me look unprofessional? You cannot hide html or javascript from client, but maybe you can make it harder to read. You can try to obfuscate any of HTML, JS or your data format, but it will surely incur performance penalty for HTML/JS and there are enough prettyfiying parsers out there that'll

How To Hide Javascript Code From View Source

You are not protecting yourself against the thousands and thousands of people who click "view source". What is this aircraft with elaborate folding wings? "No space left on device" error despite having plenty of space, on btrfs DDH Assumption Not Holding std::string += operator cannot pass 0 I'd like the red portition to spread over the div, and fill entire height, while You can't/Tried but failed: Use overflow: hidden, because it doesn't work (I thought it will render Obfuscation is the same.

A 5 rated bank vault indicates that a bank vault takes 5 minutes for an expert safe cracker to break into the vault. Your best bet is to develop your site in a manner that will not be compromised by someone seeing your source. The list goes on and on.... Disable View Source In Browser Javascript Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

That's the bottom line. You can be rude and disable right-clicks, and try to pervert the browser window all you want, but when it comes down to it, the source needs to be downloaded to And obfuscation is basically just weak encryption. http://stackoverflow.com/questions/23877191/how-to-disable-view-source-option-in-firefox-and-chrome Solution 10 Accept Solution Reject Solution Just, don't do it.

This is an issue that larger companies deal with often. Hide Source Code Of A Web Page Solution 3 Accept Solution Reject Solution Besides diabling right click ,if you want to stop users from using menu item , use a popup frame. So long as the crackers keep their heads down, we can *pretend* they aren't ripping us off. 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

How To Hide Html Source Code Using Javascript

One other thing to note, very important, is that by pushing the envelope with this type of crappy control attempts on client side, may also result in your site being classified It involves adding a ton of white space before the start of your code so that the view source menu appears blank. How To Hide Javascript Code From View Source But i would like to achieve it programatically using scripts, applets or whatever. How To Encrypt Html Source Code Because they don't want to give people free copies of the movies.

Linux questions C# questions ASP.NET questions fabric questions SQL questions discussionsforums All Message Boards... this contact form This is … How to display a particular div from viewsource 3 replies hey all, Am trying to display the div tag and its content by clicking it. If you have to expose the application functionality via a web frontend, you could use Silverlight to write the frontend or bits of the frontend. How can Data be property of Starfleet? Hide Html Source Code Using Php

Whether it's a JS unscrambling snippet, or a DRM driver on their system, makes little difference.At that point, they basically have the whole program structure, but no names for most stuff. That can never be disabled. This is extremely annoying to the user because you are effectively disabling context menus altogether, rather than only the "view source" button within the menu. have a peek here the code below displays the whole source code when cliked … Type 'AjaxControlToolkit.CalendarExtender' does not have a public property named 'str 1 reply i have following code [CODE]

The reaon why is there are countless programs out there that can get the source code. How To Disable Ctrl+u On Webpage Type that link into the browser and it asks you to save 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.

A lot of people look for this after having their website pirated.

javascript This question has already been answered. Aeonix 65 376 posts since Apr 2015 Community Member More Recommended Articles About Us Contact Us Donate Advertising Vendor Program Terms of Service Newsletter Archive Community Forums Recent Articles © 2002 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 To Disable View Page Source In Php Cons: Notoriously hard to get working across browsers and to actually work properly.

Which will disable the keyboard and mouse in Internet Explorer. THe code is in the temp file. Is there a trick to dodging? Check This Out Join them; it only takes a minute: Sign up how to disable view source option in firefox and chrome ?/ up vote -2 down vote favorite I have created a webpage

See more: C# ASP.NET Javascript HTML Dear sir, How to write a code for disabling view source from mouse right click and choose menu item in menu? edge82 2013-12-28 07:35:37 UTC #4 Hi felgall and Paul, Many thanks for your useful information. We can do one thing. Javascript and Flash also have a fairly large toolset for obfuscation, including:* Closure Compiler - a tool by Google for minimizing, optimizing, and obfuscating Javascript code.* YUI Compressor - a tool

You should just go back to the drawing board and see if you haven't cut any corners on your deployment system. What you're going to do, take control of the client machine and disable screen recording as well? :lol: Your approach screams out loud that this is amateur hour coupled with unrealistic Isn't there Any Hope? Zhang Ranch Hand Posts: 33 posted 11 years ago I downloaded htmlsource viewer from http://www.goorbis.com/, this tool can view html and javascript easily no matter what you do in your code.

There is another tool IEWatch at http://www.iewatch.com/index.html# I just want to know which one is better, and is there any other wonderful tools on the market? Its very irritating for the user. Think first of the implications of what you're thinking you can do to client side. but Fact is you can still do ctrl-U in firefox to view source !

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 3221819 answered Jul 6 '11 at 13:35 bluefeet♦ 149k33202282 add a comment| up vote Even if you couldn't, it is trivial to simply load up a debugging proxy like Fiddler, or packet-sniff the connection.