清除tppabs标签:
html文件中:
查找:tppabs="h[^"]*"
勾选:使用正则表达式
替换:(空)
css文件中的注释:
查找:/\*tpa.*?\*/
勾选:使用正则表达式
替换:(空)
css文件中的图片链接(以gif图片为例):
查找:tpa=http://[^s]*.gif
勾选:使用正则表达式
替换:(空)
修复confirm链接:
查找:href=" *javascript:if(confirm('(htt[^"s]*).*?"
替换:href="$1"
冗余代码示例:<a href="javascript:if(confirm(%27https://wrappixel.com/ \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?%27))window.location=%27https://wrappixel.com/%27" tppabs="https://wrappixel.com/">WrapPixel</a>
示例替换后结果:<a href="https://wrappixel.com/" tppabs="https://wrappixel.com/">WrapPixel</a>