Webhoster插入了一个javascript,它会阻止我的代码如何删除它?
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.
小心——这样做你违反了他们的政策,他们最终会把你从他们的服务中删除,你会丢失所有的数据。
更多相关文章
- 为什么使用observe_field代码不能使用JQuery模型对话框?
- jquery 生成table表格 部分代码
- 使用jquery的$ .ajax来获取node.js脚本的输出,而不是它的代码
- Server.Htmlencode用于文本域显示带的html代码
- IOS学习之WebView加载本地HTML代码或网络资源
- html5 css3 背景视频循环播放代码
- HTML5 标签audio添加网页背景音乐代码
- 我无法理解为什么我的代码中的单击选择文本
- js字符串与html代码互相转换时怪想法:自己解析js字符串成普通字