============================================================================================ Usage Examples - HObfus - HTML Obfuscator for PHP -------------------------------------------------------------------------------------------- ============================================================================================ Slideshow -------------------------------------------------------------------------------------------- ============================================================================================ -------------------------------------------------------------------------------------------- Stopwatch -------------------------------------------------------------------------------------------- "PAUSE"; "RESUME"; -------------------------------------------------------------------------------------------- ============================================================================================ Bouncing Emoji -------------------------------------------------------------------------------------------- ============================================================================================ Countries by Population -------------------------------------------------------------------------------------------- ============================================================================================ Multiple Obfuscations -------------------------------------------------------------------------------------------- There are multiple obfuscations on this webpage. Check out the source code! I do not know what I may appear to the world, but to myself I seem to have been only like a boy playing on the sea-shore, and diverting myself in now and then finding a smoother pebble or a prettier shell than ordinary, whilst the great ocean of truth lay all undiscovered before me. Isaac Newton -------------------------------------------------------------------------------------------- Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. Albert Einstein -------------------------------------------------------------------------------------------- However difficult life may seem, there is always something you can do and succeed at. Stephen Hawking ============================================================================================ ================================================================================ === What is HObfus_begin()? ==================================================== ================================================================================ HObfus_begin() marks the beginning point of the code to be obfuscated. In the HObfus_begin() function of this page, we override two configuration settings by passing an array to the function like: ------------------------- HObfus_begin(array( "remove-script"=>1, "remove-comment"=>1 )); ------------------------- The two configuration settings are the bonus features of HObfus, "remove-script" and "remove-comment", which will be explained below. [ remove-script ] If you set "remove-script"=>1, HObfus will remove all the script blocks from the Elements tab of DevTools. This makes it hard to analyze the page if it contains a lot of JavaScript. [ remove-comment ] If you set "remove-comment"=>1, HObfus will remove all the HTML comment blocks from the Elements tab of DevTools. ( That's why you don't find this comment in the Elements tab! ) Note that the scope of removal of the script and comment blocks is the entire web page, regardless of the locations of HObfus_begin() and HObfus_end(). ================================================================================ ================================================================================ ================================================================================