This tool will hide the HTML source code of your page from the normal 'view source' option.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example HTML Hider Jun 25, 2015
.gitattributes
HTMLhider.class.php
LICENSE
README.md
hjs.php

README.md

HTML Hider

This tool will hide the HTML source code of your page from the normal 'view source' option.

Use:-

<?php
include('HTMLhider.class.php');
$hider = new \HTMLhider\hider();
$hider->hide($FullHTMLpage);
$hider->activateJS();
echo $hider->getHiddenPage();
?>

It will change this page:-

<html lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>HTML Hider</title>
        <link rel="stylesheet" href="style.css" />
    </head>
    <body>
    <div class="container">
        <div class="section btl btr bbl bbr">
            <div class="sectitle btl btr bb">HTML Hider</div>
            <div class="seccontent tac">
                This tool will hide the HTML source code of your page from the normal 'view source' option.<br />
                Get a copy from <a href="https://github.com/AyoobAli" target="_blank">GitHub</a>.
            </div>
            <div class="secfooter bbl bbr bt">Copyright (c) 2015 AyoobAli.com</div>
        </div>
    </div>
    </body>
</html>

To this:-

<html lang="en"><head><script src="/hjs.php" type="text/javascript"></script></head><body>
  				   		 	    			 	   		 		 	 		 		    	      		 		   		    	 		 			  		  			  				 	  	   	  		  	 	 		 			   	   	   					     		 	    	 	   	       	       	       	       				   		 	    		  	 	 		    	 		  	    					     		 	    	 	   	       	       	       	       	       	       	       	       				   		 		 	 		  	 	 			 	   		    	  	      		 	    			 	   			 	   			      	 		 	 		  	 	 			   	 			 	 	 		 	  	 			 		   				 	  	   	  	    		 		 				 		 			  			 	   		  	 	 		 			  			 	    	 		 	 	 	 	   				  	 			     		  	 	  	   	   	      		   		 		 				 		 			  			 	   		  	 	 		 			  			 	    				 	  	   	  			 	   		  	 	 				    			 	    	 				 		 	    			 	   		 		 	 		 		    			 		  	      		   		 		 	    		    	 			  	  			  		 		  	 	 			 	    				 	 	 	 	 	 	 	 	   	   		   	 		 	  			     	   	   	       	 				  					     		 	    	 	   	       	       	       	       	       	       	       	       				   			 	   		 	  	 			 	   		 		   		  	 	  					  	  	    	 	 	   	  		 	 	  		    	      	  	    		 	  	 		  	   		  	 	 			  	   				    	 				 			 	   		 	  	 			 	   		 		   		  	 	  					     		 	    	 	   	       	       	       	       	       	       	       	       				   		 		   		 	  	 		 			  		 	 		  	      			  	  		  	 	 		 		    				 	  	   	  			  		 			 	   				  	 		 		   		  	 	 			  		 		 	    		  	 	 		  	 	 			 	    	   	   	      		 	    			  	  		  	 	 		  		   				 	  	   	  			  		 			 	   				  	 		 		   		  	 	  	 			  		   		 			  		 			  		  	   	   	       	 				  					     		 	    	 	   	       	       	       	       				    	 				 		 	    		  	 	 		    	 		  	    					     		 	    	 	   	       	       	       	       				   		   	  		 				 		  	   				  	  					     		 	    	 	   	       	       	       	       				   		  	   		 	  	 			 		   	      		   		 		 		   		    	 			  		 			  		  				 	  	   	  		   		 		 				 		 			  			 	   		    	 		 	  	 		 			  		  	 	 			  	   	   	   					     		 	    	 	   	       	       	       	       	       	       	       	       				   		  	   		 	  	 			 		   	      		   		 		 		   		    	 			  		 			  		  				 	  	   	  			  		 		  	 	 		   		 			 	   		 	  	 		 				 		 			   	      		   	  			 	   		 		    	      		   	  			 	   			  	   	      		   	  		   	  		 		    	      		   	  		   	  			  	   	   	   					     		 	    	 	   	       	       	       	       	       	       	       	       	       	       	       	       				   		  	   		 	  	 			 		   	      		   		 		 		   		    	 			  		 			  		  				 	  	   	  			  		 		  	 	 		   		 			 	   		 	  	 			 	   		 		   		  	 	  	      		   	  			 	   		 		    	      		   	  			 	   			  	   	      		   	  		   	   	   	   					  	  	    	 	 	   	  		 	 	  		    	      	  	    		 	  	 		  	   		  	 	 			  	   				    	 				 		  	   		 	  	 			 		   					     		 	    	 	   	       	       	       	       	       	       	       	       	       	       	       	       				   		  	   		 	  	 			 		   	      		   		 		 		   		    	 			  		 			  		  				 	  	   	  			  		 		  	 	 		   		 		   		 		 				 		 			  			 	   		  	 	 		 			  			 	    	      			 	   		    	 		   		  	   	   					     		 	    	 	   	       	       	       	       	       	       	       	       	       	       	       	       	       	       	       	      	 	 	   		 	    		 	  	 			  		  	      			 	   		 				 		 				 		 		    	      			 			 		 	  	 		 		   		 		    	      		 	    		 	  	 		  	   		  	 	  	      			 	   		 	    		  	 	  	      	  	    	 	 	   	  		 	 	  		    	      			  		 		 				 			 	 	 			  	  		   		 		  	 	  	      		   		 		 				 		  	   		  	 	  	      		 				 		  		   	      				  	 		 				 			 	 	 			  	   	      			     		    	 		  			 		  	 	  	      		  		  			  	  		 				 		 		 	  	      			 	   		 	    		  	 	  	      		 			  		 				 			  	  		 		 	 		    	 		 		    	       	  			 			 		  		 	  	 		  	 	 			 			  	      			  		 		 				 			 	 	 			  	  		   		 		  	 	  	  			  	      		 				 			     			 	   		 	  	 		 				 		 			   	 			   				   		   	  			  	   	       	 				  					     		 	    	 	   	       	       	       	       	       	       	       	       	       	       	       	       	       	       	       	      	   			 		  	 	 			 	    	      		    	  	      		   		 		 				 			     				  	  	      		  		  			  	  		 				 		 		 	  	       				   		    	  	      		 	    			  	  		  	 	 		  		   				 	  	   	  		 	    			 	   			 	   			     			  		  			 	   	 				  	 				 		  			 		 	  	 			 	   		 	    			 	 	 		   	   	 			  		   		 		 				 		 		 	  	 				 	     	 				  	 		 				 		 				 		   	  	     	 		 		   		 	  	  	   	   	      			 	   		    	 			  	  		  			 		  	 	 			 	    				 	  	   	  	 					 		   	  		 		   		    	 		 			  		 	 		  	   	   					  	   			 		 	  	 			 	   	  	    			 	 	 		   	   				    	 				 		    	  					   	 			     		 	    	 	   	       	       	       	       	       	       	       	       	       	       	       	       				    	 				 		  	   		 	  	 			 		   					     		 	    	 	   	       	       	       	       	       	       	       	       	       	       	       	       				   		  	   		 	  	 			 		   	      		   		 		 		   		    	 			  		 			  		  				 	  	   	  			  		 		  	 	 		   		 		  		  		 				 		 				 			 	   		  	 	 			  	   	      		   	  		   	  		 		    	      		   	  		   	  			  	   	      		   	  			 	    	   	   					  	    		 		 				 			     				  	 			  	  		 	  	 		  			 		 	    			 	    	       	 	    		   		  	 	  	  	       		  	   		      		   	  		 	 	  	      	     	 				  	 		 				 		 				 		   	  	     	 		 		   		 	  	  	 			  		   		 		 				 		 		 	  				    	 				 		  	   		 	  	 			 		   					     		 	    	 	   	       	       	       	       	       	       	       	       				    	 				 		  	   		 	  	 			 		   					     		 	    	 	   	       	       	       	       				    	 				 		  	   		 	  	 			 		   					     		 	    	 	   	       	       	       	       				    	 				 		   	  		 				 		  	   				  	  					     		 	    	 	   				    	 				 		 	    			 	   		 		 	 		 		    					 
</body></html>

Website: www.AyoobAli.com