Mobile app version of vmapp.org
Login or Join
Cody1181609

: Prevent my hosting server from adding a JavaScript snippet to my page? My host adds JavaScript in particular cases. I want to prevent that. Maybe through .htaccess? The added code is the following

@Cody1181609

Posted in: #Htaccess #Server

My host adds JavaScript in particular cases. I want to prevent that. Maybe through .htaccess?

The added code is the following


So, even preventing their PHP from executing would be useful.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Cody1181609

2 Comments

Sorted by latest first Latest Oldest Best

 

@Sherry384

I actually solved it by turning off any PHP code after my coding in html... so that the server doesn't add any of it by itself

10% popularity Vote Up Vote Down


 

@Nimeshi995

I saw a post about this on SO

Webhoster inserts a javascript which brokes my code how to remove it?

The chosen answer states:


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

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.


Though that was back in 2010. They may have removed this option - it would be best to just get into contact with them & see if it is possible to remove it - or if it is a violation of their Ts&Cs.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme