All Projects → cazala → haha

cazala / haha

Licence: MIT License
humorous javascript obfuscation tool

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

haha

Humorous javascript obfuscation tool

###Usage

haha(code, getFunc);

  • code: the script that you want to obfuscate.
  • getFunc: if set to true, the returned value is a function, otherwise if set to false (or not defined at all) it returns a string

###Example

haha('alert("hello world")') // Function('HahaAhAhHahahH....

you can copy and paste the code in the console to test it out, it will run as if it was the script you passed as parameter to the haha() function

###Try it out

test it live here, just type some code on the text area and press Haha, then you can paste that code in the console or on a .js file and it should run exactly as if it was the code you typed in the box.

###Dependencies

haha.js uses hyeroglyphy.js, so you have to include it in your project before you include haha.js

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].