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

Thread: Strange JavaScript

  1. #1
    Join Date
    Apr 2005
    Posts
    210

    Strange JavaScript

    Hi friends,

    I downloaded a menu sample, which includes a js file.

    I use VC (similar to notepad) to open the js file, and VC says "lines are to long, do you still want to open it?". I open it anyway.

    Funny thing is that whence the js file is opened, even then I closed it immediately, the menu doesn't work again.

    Author wrote a note: the menu is copyrighted and can't be modified.
    I believe the author added some tricks inside the js file.

    Can you explain why?

    BTW: Purpose of this post is not for stealing his code , but for knowing code protection strategies.


    .

  2. #2
    Join Date
    May 2006
    Location
    Somewhere behind your screen
    Posts
    1,674
    your VC cut "too long lines" out and damaged the code. use Notepad++ instead

  3. #3
    Join Date
    Dec 2005
    Location
    FL
    Posts
    7,443
    Do you have the same message if you use something other than VC to open the file?

    Also, I find it difficult to comment on code I can't see.

  4. #4
    Join Date
    May 2006
    Location
    Somewhere behind your screen
    Posts
    1,674
    some time ago i used PrimalScript and it did the same many times. that's why i use Np++

Thread Information

Users Browsing this Thread

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

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