I use the free webhost 000webhost. The service is okay but it inserts some javascript counter into every file and request. The script looks like this.

我使用免费的webhost 000webhost。服务没问题,但它在每个文件和请求中都插入了一些javascript计数器。脚本是这样的。

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->

If i do a jquery post it breaks my code and I get no response.

如果我发布jquery帖子,它会破坏我的代码,我不会得到任何响应。

<?xml version="1.0"?>
<response>
 <status>1</status>
 <time>1266267386</time>
 <message>
  <author>test</author>
  <text>hallo</text>
 </message>
 <message>
  <author>test</author>
  <text>hallo</text>
 </message>
 <message>
  <author>test</author>
  <text>hallo</text>
 </message>
 <message>
  <author>test</author>
  <text>hallo</text>
 </message>
 <message>
  <author>admin</author>
  <text>hallo</text>
 </message>
</response>
<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->

How can I fix that? How can I remove the hosting javascript code?

我怎样才能解决这个问题呢?如何删除托管javascript代码?

9 个解决方案

#1


40

They have a link in their cPanel where you can disable the analytics code.

他们的cPanel中有一个链接,你可以在其中禁用分析代码。

http://members.000webhost.com/analytics.php

http://members.000webhost.com/analytics.php

EDIT

编辑

Beware - by doing this you violate their policy and they will eventually drop you from their service and you will lose all your data.

小心——这样做你违反了他们的政策,他们最终会把你从他们的服务中删除,你会丢失所有的数据。

更多相关文章

  1. 为什么使用observe_field代码不能使用JQuery模型对话框?
  2. jquery 生成table表格 部分代码
  3. 使用jquery的$ .ajax来获取node.js脚本的输出,而不是它的代码
  4. Server.Htmlencode用于文本域显示带的html代码
  5. IOS学习之WebView加载本地HTML代码或网络资源
  6. html5 css3 背景视频循环播放代码
  7. HTML5 标签audio添加网页背景音乐代码
  8. 我无法理解为什么我的代码中的单击选择文本
  9. js字符串与html代码互相转换时怪想法:自己解析js字符串成普通字

随机推荐

  1. Android应用程序启动过程源代码分析(1)
  2. 【转】Android的电源管理
  3. Android 启动应用程序方式
  4. 分析脚本文件AndroidInitProcess分析心得
  5. 【转】Android背景选择器Selector详解
  6. [置顶] Android学好Shape不再依赖美工
  7. Android 基础知识
  8. Android从Linux系统启动
  9. 在ListItem某组件添加响应事件
  10. 「Android Tips」解决 Mac OSX 无法识别