Hallo zusammen!
Ich habe eine kleine Testwebseite bei einem Gratisanbieter gehostet, da ich gerade dabei bin, PHP zu lernen. Nun ist aber das Problem, dass teilweise beim Besuch meiner Webseite sehr viel Werbung zu sehen ist. Es ist nämlich so, dass der Dienst automatisch meine html und php Dateien ändert. Wenn ich eine Datei hochlade, zum Beispiel login.html, das vorher so aussah:
sieht es nachher beim Benutzer im Browser so aus:
Der Dienst fügt automatisch Code für Werbung ein. Die Werbung sieht nicht nur schlecht aus, sie verkleinert die Performance leider auch ziemlich extrem. Nun frage ich mich, ob es möglich wäre, mithilfe von javascript oder php das ich auf dieser Seite einbauen würde, die Werbung dynamisch zu entfernen.
Gäbe es da eine Möglichkeit? Auf Antworten würde ich mich freuen.
mfg
M@DXTRIS
Ich habe eine kleine Testwebseite bei einem Gratisanbieter gehostet, da ich gerade dabei bin, PHP zu lernen. Nun ist aber das Problem, dass teilweise beim Besuch meiner Webseite sehr viel Werbung zu sehen ist. Es ist nämlich so, dass der Dienst automatisch meine html und php Dateien ändert. Wenn ich eine Datei hochlade, zum Beispiel login.html, das vorher so aussah:
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<title>Login</title>
</head>
<body>
<center>
<br><br><br><br><br>
Sie sind nicht eingeloggt. Bitte loggen Sie sich ein.<br>
<br>
<form action="checkpw.php" method="post">
Username: <input type="text" name="username" /><br />
Passwort: <input type="password" name="passwort" /><br />
<input type="submit" value="Anmelden" />
</form>
</center>
</body>
</html>
HTML:
<script type="text/javascript">
window.google_analytics_uacct = "UA-7539432-2";
</script>
<style>
#catfish072f12a9{PADDING: 0px;MARGIN: 0px 0px -90px;WIDTH: 100%;HEIGHT: 90px;BOTTOM: 0px;POSITION: fixed;}
</style>
<!--[if IE]>
<style>
#catfish072f12a9{ Z-INDEX: 1000; OVERFLOW: hidden; POSITION: absolute;}
HTML,BODY {OVERFLOW: hidden;WIDTH: auto;HEIGHT: 100%;}
DIV#zip072f12a9{PADDING: 0px;MARGIN: 0px;OVERFLOW: auto;WIDTH: 100%;HEIGHT: 100%;POSITION: relative;}
</style>
<![endif]-->
<div id="topad072f12a9"></div>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<title>Login</title>
</head>
<body>
<center>
<br><br><br><br><br>
Sie sind nicht eingeloggt. Bitte loggen Sie sich ein.<br>
<br>
<form action="checkpw.php" method="post">
Username: <input type="text" name="username" /><br />
Passwort: <input type="password" name="passwort" /><br />
<input type="submit" value="Anmelden" />
</form>
</center>
</body>
</html>
</style></noframes></pre></xmp></noscript>
<div id="catfish072f12a9" style="display:none"></div>
<script src="http://ads.mmania.com/displaycf.js.php?r=072f12a9&cc=de" type=text/javascript></script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7539432-2");
pageTracker._trackPageview();
} catch(err) {}
</script>
Gäbe es da eine Möglichkeit? Auf Antworten würde ich mich freuen.
mfg
M@DXTRIS
Zuletzt bearbeitet: