首页软件教程小飞兔下载配置选项之删除代码
小飞兔下载配置选项之删除代码

配置选项的删除代码含有内置删除代码和自定义删除代码

内置删除代码

  • 删除统计和广告代码,如下代码
<!-- 百度统计 -->
<script>
        var _hmt = _hmt || [];
        (function () {
                var hm = document.createElement("script");
                hm.src = "https://hm.baidu.com/hm.js?XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
                var s = document.getElementsByTagName("script")[0];
                s.parentNode.insertBefore(hm, s);
        })();
</script>

<script type="text/javascript">
        var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
        document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F2525cfa1b9dfbcb8f1e1' type='text/javascript'%3E%3C/script%3E"));
</script>

<!-- 51.la统计 -->
<script type="text/javascript" src="//js.users.51.la/205160338.js"></script>

<!-- cnzz统计 -->
<script type="text/javascript" src="https://s96.cnzz.com/z_stat.php?id=***&web_id=***"></script>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1255238616'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s23.cnzz.com/z_stat.php%3Fid%3D12***' type='text/javascript'%3E%3C/script%3E"));</script>

<!-- 百度商桥 -->
<script>
        var _hmt = _hmt || []; // eslint-disable-line
        (function () {
                var hm = document.createElement('script');
                hm.src = 'https://hm.baidu.com/hm.js?XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
                var s = document.getElementsByTagName('script')[0];
                s.parentNode.insertBefore(hm, s);
        })();
</script>

 <!-- google广告 -->
<script data-ad-client="ca-pub-2222513431618339" async
                src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle21.js"></script>

<!-- google广告 -->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle1.js"></script>
<script src="ad/header.js"></script>

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle1.js"></script>
<script>
        (adsbygoogle = window.adsbygoogle || []).push({
                google_ad_client: "ca-pub-***",
                enable_page_level_ads: true
        });
</script>

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle1.js"></script>
<!-- 250x250 -->
<ins class="adsbygoogle"
         style="display:inline-block;width:250px;height:250px"
         data-ad-client="ca-pub-****"
         data-ad-slot="47692789324"></ins>
<script>
        (adsbygoogle = window.adsbygoogle || []).push({});
</script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag"></script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-***-1"></script>

<!-- 360奇胜效果联盟 -->
<script>
        (function (b, a, e, h, f, c, g, s) {
                b[h] = b[h] || function () { (b[h].c = b[h].c || []).push(arguments) };
                b[h].s = !!c; g = a.getElementsByTagName(e)[0]; s = a.createElement(e);
                s.src = "//s.union.360.cn/" + f + ".js"; s.defer = !0; s.async = !0; g.parentNode.insertBefore(s, g)
        })(window, document, "script", "_qha", 111111, false);
</script>
  • 删除自动推送代码
<!--启动百度自动推送功能-->
<script>
        (function () {
                var bp = document.createElement('script');
                var curProtocol = window.location.protocol.split(':')[0];
                if (curProtocol === 'https') {
                        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
                } else {
                        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
                }
                var s = document.getElementsByTagName("script")[0];
                s.parentNode.insertBefore(bp, s);
        })();
</script>

<!-- 360推送 -->
<script>
        (function () {
                var src = "https://jspassport.ssl.qhimg.com/11.0.1.js?****";
                document.write('<script src="' + src + '" id="sozz"><\/script>');
        })();
</script>
  • 删除html/css/js等注释代码

  • 删除富媒体对象代码

<meta([^>]*?)property([ ]*?)=([^>]*?)og:([^>]*?)>
  • 删除百度和360验证代码
<meta name=\"360-site-verification\" content=\"\" />
<meta name=\"baidu-site-verification\" content=\"\" />
  • 删除验证资源完整性代码
<link rel="stylesheet" href="/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">

<script src="/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>

自定义删除代码

  • 此功能基于正则表达式删除代码,软件内置自动生成正则表达式工具和验证正则表达式测试工具

  • 内置常用的正则表达式,如删除script代码正则表达式删除link代码正则表达式删除style代码正则表达式删除所有html代码正则表达式

软件应用:前端模板下载;开发设计;SEO优化;离线浏览网页。备注:本软件不是黑客程序,不能下载后台数据!
免责声明:服务用于个人学习、研究或欣赏,以及其他非商业性或非盈利性用途,但同时应遵守著作权法及其他相关法律的规定,不得侵犯本网站及相关权利人的合法权利,通过使用本站工具随之而来的风险与本软件无关。
Copyright © 2019-2021 小飞兔软件 All Rights Reserved 粤ICP备19111427号-2
产品中心 教程资讯 在线文档 网站专题