dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: How is this kind of obfuscation actually possible?

  1. #1
    Join Date
    Mar 2015
    Posts
    1

    Question How is this kind of obfuscation actually possible?

    Hi @all, this is my first post, so bear with me.

    I was searching the web for a JavaScript obfuscator, and instead I found this: jQuery JavaScript library made of only six different characters: ! ( ) + [ ]. Now I'm wondering, how is this actually possible?

    I mean, I've seen this type of obfuscation before, and it took a few thousands of bytes to write a Hello World program, totally useless for any practical purpose. There is also a well-explained video showing how to use 1000 bytes to write a "H".

    But this is only 1.5 Mb for the whole jQuery... how is this done?!?

    Actually I'm not sure that this is a good way to obfuscate code (although... can this even be reverted?), but I want to understand what's going on.

  2. #2
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,968
    Actually, 1.5MB is huge.

    JQuery library is around 100k
    JavaScript is native, so size does not matter!

    As for your query, it is better off asked in the JQuery (Frameworks) forum located at the top of the forum.
    STOP using $ prefix on JavaScript variable names...
    Please remember to wrap any code you have in forum tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles