检查网页上的代码段

时间:2013-06-17 15:36:44

标签: macos perl google-adwords

我想每天将AdWords跟踪代码与应在客户网页上安装的代码进行比较。原因是客户端网页代码经常被网站更新解除。我能够下载html源代码(在OSX中),但是我遇到了将正确的代码(在文件中)与网页上的代码进行比较的困难。您是否知道perl(或其他)中的简单命令,它将文件中的代码与放置在网页上的代码进行比较?

由于 ALEV

<script type="text/javascript">
 /* <![CDATA[ */
 var google_conversion_id = 123456789;
 var google_conversion_language = "en";
 var google_conversion_format = "2";
 var google_conversion_color = "ffffff";
 var google_conversion_label = "abcdefghijklmnopqrst";
 var google_conversion_value = 0;
 /* ]]> */
 </script>
 <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
 </script>
 <noscript>
 <div style="display:inline;">
 <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/123456789/?value=0&label=abcdefghijklmnopqrst&guid=ON&script=0"/>
 </div>
 </noscript>

0 个答案:

没有答案