admin管理员组

文章数量:1390822

i have downloaded a website using HTtrack wepsite copier. All files are downloaded to my local system . But if i run the file in my local system it automatically redirect to the e page. This action is done by using the .6.4.min.js . I tried to remove that automatic redirection script but no use.please help me how to remove that script.

i have downloaded a website using HTtrack wepsite copier. All files are downloaded to my local system . But if i run the file in my local system it automatically redirect to the e page. This action is done by using the http://static.livedemo00.template-help./wt_37010/js/jquery-1.6.4.min.js . I tried to remove that automatic redirection script but no use.please help me how to remove that script.

Share Improve this question edited Jan 30, 2012 at 6:52 Bala 3,62810 gold badges47 silver badges75 bronze badges asked Jan 30, 2012 at 6:36 innovationsinnovations 211 silver badge2 bronze badges 2
  • Please click a link in my post you'll get the full js code – innovations Commented Jan 30, 2012 at 7:00
  • You have downloaded a website? Why? – halfpastfour.am Commented Jun 28, 2012 at 13:13
Add a ment  | 

3 Answers 3

Reset to default 3

Instead of using 1.6.4 consider using

<script src="https://ajax.googleapis./ajax/libs/jquery/1.7.1/jquery.min.js"></script>

It will eliminate your problem :)

After you have played with template, please consider contributing $60 or so to developer. In other words: BUY it! You will have benefits of having all files support and PSD files as well for lousy $60.

Good luck.

The last line of the file is an obfuscated version of:

if(!location.protocol.indexOf('http:') && !location.host.indexOf('template-help.')) {
    // nothing
} else {
    location.href='http://www.google.';
}

Note that downloading this template and using it on your own site is a violation of Template-Help's copyright. If you want to use the template, PAY FOR IT.

Replace jquery-1.6.min.js file with jquery.min.js in index.html as well.

本文标签: javascriptjquery164minjs automatically redirect to google home pageStack Overflow