Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript file is encrypted?

Status
Not open for further replies.

nguyenxh

Programmer
Apr 17, 2009
6
NL
Hi,

Once time, I went to a website in which there is a very nice javascript effect. I tried to view page source and the javascript source code:

For example it is like this:

<script src="/javascripts/effect_36ec00767605b72c53de91adb0a803ab240bded4.js?1230496318" type="text/javascript"></script>

I already make the following attempts to download the javascript file:

1.
2.
But there is no way successfully!!!

Do you have any idea how could I do so?

Thanks in advance.
 
Hi Feherke,

Thanks.

This is the link:
I am interested how they make this then I can learn something like this.

Because I also have some sites and I also need to encrypt my javascript files like they did.

Thanks in advance.
 
Hi

That script is available without any problem. There is no sign neither for the smallest attempt for protection.
nguyenxh said:
I also have some sites and I also need to encrypt my javascript files like they did.
There is no way to encrypt. The most you can do is to obfuscate it.

Feherke.
 
It's successful for me.

Anyway, notice the

Code:
Copyright © 2007-08 Vying Games, LLC

Cheers,
Dian
 
Hi Feherke,

Thanks.

so how could I download that javascript, when view source, I see it is like this:

javascripts/breakthrough_36ec00767605b72c53de91adb0a803ab240bded4.js?1230496318

Then together with the path it is:

But then I could not download the file, any ideas?

Thanks in advance.
 
Hi Dian,

What did you mean that it is successful for you?

You are able to download the javascript file?

Could you please tell me how?

Thanks in advance.
 
Hi Feherke,

Oh ok,

Great. I got it.

The js file is obfuscated. Is there any chance to deobfuscate it? ;)

Thanks.
 
Oh OK.

Thanks. stupid me. Not familiar with this...

Great help guys,

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top