Online Text Compressor in PHP (+ download PHP script)

On this topic:


Зашифровка HTML кода или любого текста

On most sites, the HTML code is publicly available, which means that any webmaster can easily reproduce it by simply looking at the screen of the finished web page.

However, some optimizers consider the source HTML code of their web projects as a commercial secret or "know-how".

Save your unauthorized use of your intellectual work, this service will help, with which you can quickly encrypt the source HTML code through javascript.

Encodes html or any text in java-script. It is convenient to hide any information (for example, from rips or protection of e-mail from spam.)

Download A JavaScript Compressor [script PHP] Packer-php.rar Packer-php.rar Virus Free by KAV

Script to pack:

Note: this page needs to be updated for version 3.0.

Usage

All statements, including function declarations , must be correctly terminated with semi-colons.

With the packing algorithm is forgiving of all forms of JavaScript with one exception. You must correctly terminate all JavaScript statements with semi-colons. This includes function declarations.

Here is an example of correct, semi-colon terminated JavaScript:

 // sample code var input, output;  // notice the semi-colon at the END of function declarations onload = function () {input = document.getElementById ("input");  Output = document.getElementById ("output");  ClearAll (true);  };};  Function packScript () {output.value = pack (input.value);  };};  Function clearAll (focus) {output.value = input.value = "";  // the "if" statement is NOT terminated with a semi-colon if (focus) {input.focus ();  }}; 

Options

Base62 encode

Shrink variables

Features

Debug code (;;;)

Three semi-colons ( ;;; ) are treated like single-line comments.

For example, this code:

  ;;;  Alert ("TEST!"); 

Would be removed by the packing program.

Platforms

Packed scripts should successfully unpack on all browsers that support JavaScript. Only basic JavaScript functionality is used to decode the packed script.

Some browsers may not support the packer itself. The web interface requires DOM support. Legacy browsers will display a disabled interface.