Skip to content

A nasty script which hides an HTML source code in a bunches of spaces and tabs .

Notifications You must be signed in to change notification settings

codedbrain/JSobsfucator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JSobsfucator is a simple script which aims to make your HTML file un-intelligible for normal people to understand .

How to use it

Type your HTML source code there , then you will have a script . You can use it .
for instance if you generate the output of "It has been such a cool day" then you can verify its output by checking the output of the code in browsers console. There appears the above text written in the screen .

So , how exactly it works ?

1)First, it converts the given text into binary
2)It replaces all 0's with spaces(&nbsp , an html entity for space) and 1's with tabs. We have sucessfully converted given texts to a string full of whitespaces.
3)Now it already comes with a script which reverses the process meaning that all spaces are converted to 0 and all tabs are converted to 1 and uses document.write to execute the script.
4)It combines the output (which is totally full of whitespaces) with the code (which reverses the process and executes the script).

About

A nasty script which hides an HTML source code in a bunches of spaces and tabs .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published