Webhoster插入一个javascript,它代码如何删除它? [英] Webhoster inserts a javascript which brokes my code how to remove it?
问题描述
我使用免费的webhost 000webhost。服务还可以,但它会在每个文件和请求中插入一些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.
<!-- 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 -->
如果我做了一个jquery帖子,它会破坏我的代码并且我没有得到回复。
If i do a jquery post it breaks my code and I get no response.
<?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 -->
我该如何解决这个问题?如何删除托管javascript代码?
How can I fix that? How can I remove the hosting javascript code?
推荐答案
他们在cPanel中有一个链接,您可以在其中禁用分析代码。
They have a link in their cPanel where you can disable the analytics code.
http://members.000webhost.com/analytics .php
编辑
小心 - 通过这样做你违反他们的政策,他们最终会让您退出他们的服务,您将丢失所有数据。
Beware - by doing this you violate their policy and they will eventually drop you from their service and you will lose all your data.
这篇关于Webhoster插入一个javascript,它代码如何删除它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!