Cleanup of Teleport spam code tppabs

Source: Internet
Author: User

 
The offline files downloaded using the full-site Download Software Teleport Pro or Teleport Ultra contain a large amount of junk code. After downloading, you need to clear the redundant code in the full-site download file: tppabs.
These codes are automatically added by Teleport to describe the original address of the file, but such spam code will have a negative impact. For example, the CSS file may become a background image and cannot be loaded. Manual clearing of the code will be troublesome. The following provides a method to clear the regular expressions in batches with less effort.
First, use a software with regular expression replacement, such as DreamWeaver. The specific method is as follows (you should check "use regular expression" for replacement ")

Matching tppabs labels: \ btppabs = "h [^"] * "replaced with (null)

Match javascript code: href = "* javascript: if \ (confirm \ ('htt [^"] * "with href =" # www.yoursite.com"

There are some image links in the css file.

Image matching code: tpa = http: // [^ \ s] *. Replace gif with (null)

Css code
\/\ * Tpa = h [^ "] * \/\)

)

 

Then the rest is/**/. You do not need to replace the regular expression.

There are Falsh code and so on. You need to look at it again.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.