: 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
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.
More posts by @Cody1181609
2 Comments
Sorted by latest first Latest Oldest Best
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
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.