Tips, News and Comments on HTML Guard


October 1st, 2009, by Andreas

HTML Guard Version 3.1.0 Released

I’m pleased to announce that today we are releasing version 3.1.0 of HTML Guard. Two of the most notable new features are detailed below, while the full list of changes is available here.

JavaScript Code Compression

With this new version of HTML Guard, you can compress the JavaScript code in your web pages. This makes the code less readable for others and reduces the time necessary to download the page content.

HTML Guard - Compress Javascript Code

For example, when you let HTML Guard compress the anti-right click code presented in a previous article, the program will cut the code down from 39 lines to the following:

<script language="JavaScript" type="text/javascript"><!--
var onlyOnImages=false;var isIE5=document.all&&document.getElementById;
var isMoz=!isIE5&&document.getElementById;function cancelContextMenu(e){
return false;}function onContextMenu(e){if(!onlyOnImages||(isIE5&&
event.srcElement.tagName=="IMG")||(IsMoz&&e.target.tagName=="IMG")){
return cancelContextMenu(e);}}if(document.getElementById){
document.oncontextmenu=onContextMenu;}
--></script>

Backup to Zip

Another new feature in HTML Guard Version 3.1.0 is the ability to store backup copies in a zip file.

HTML Guard - Zip Backup

Zip compression helps save storage space and keeps all your backup files in a single archive.

HTML Guard - Zip Backup Sample File