Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [HTML]Mimowolne wywolywanie przekierowania
Forum PHP.pl > Forum > Przedszkole
xez
Witam.
Tworzac na forum tabele napotkalem sie z dziwnym przypadkiem, mianowicie tworzac nowy temat zaczalem wpisywac jego tytul z wielkiej litery (shift+litera) i wlasnie wtedy owy skrot wywoluje mi przeniesienie do odnosnika z jednego z bannerow, zawsze tego samego bez wzgledu na to jaka litere dodam wraz z klawiszem shift. Przegladalem kod i nie znalazlem w nim nic nadzwyczajnegom wyczyscilem pamiec podreczna przegladarki (pozniej nawet kompletnie wyczyscilem wszystkie dane przegladania stron) ale to nic nie dalo. Wysylam kod do weryfikacji moze komus uda sie znalezc obiekt, ktory powoduje ten blad.

Kod
<!-- Staty z google! -->
<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-13014875-1");
pageTracker._trackPageview();
} catch(err) {}</script>

<p align="justify"><a href="http://net-speak.pl/" alt="net-speak.pl/ - Profesjonalny hosting Serverow VT , TS2 , TS3"><img

src="http://net-speak.pl/images/banery/700_120.png" width="468" height="60" border="0" style="float: left;"><a

href="http://www.cdkeysklep.pl" alt="cd-key"><img src="http://www.forum.fearlex.pl/cdkey.gif" width="468" height="60" border="0"

style="float: right;"><br></p>


<table width="970px" class="forumline" cellspacing="1" cellpadding="0" border="0" align="center"><br>
<tr class="thCornerL" height="25" nowrap="nowrap" 'hm','hm2','hm3');" style="cursor: pointer">
<th border="0">#</th>
<th border="0">Nazwa Serwera</th>
<th border="0">IP Serwera</th>
<th border="0">Rodzaj</th>
<th border="0">Połącz</th>
<th border="0">Sponsor</th>
<th border="0">GameMonitor</th>
</tr>

<tr>
<td class="row1" height="23" colspan="7"><center><img src="http://strzelnica-konin.com/images/serwery_gier.png" /></center></td>
</tr>
      
<tr align="middle" border='0'>
<td class="row1" style="font-weight:bold;">1.</td>
<td class="row1" style="font-weight:bold; color:0099FF; text-align:left;">Strzelnica-Konin [FFA]</td>
<td class="row1" style="text-align:left; color:red; font-weight:bold;">83.1.164.115:27028</td>
<td class="row1" style="font-weight:bold;" > STEAM </td>
<td class="row1" ><a href="steam://connect/83.1.164.115:27028"><img src="http://strzelnica-konin.com/images/steam_logo_male.png"

border='0'/></a></td>
<td class="row1" style="font-weight:bold;"><a href="http://strzelnica-konin.com/"><font

color='339900'><u>strzelnica-konin.com</u></font></td>
<td class="row1" ><a href="http://fragmotion.pl/status2/index.php?s=1" target="_blank"><img src="http://fragmotion.pl/status/index.php?ip=83.1.164.115:27028" title="Strzelnica-Konin.com [FFA]" alt="FFA"></a></td>
</tr>
<tr align="middle" border='0'>
<td class="row1" style="font-weight:bold;">2.</td>
<td class="row1" style="font-weight:bold; color:009999; text-align:left;">Strzelnica-Konin [FFA + BF2]</td>
<td class="row1" style="text-align:left;color:red; font-weight:bold;">94.23.241.215:27069</td>
<td class="row1" style="font-weight:bold;" > S/NS </td>
<td class="row1" ><a href="steam://connect/94.23.241.215:27069"><img src="http://strzelnica-konin.com/images/steam_logo_male.png"

border='0'/></a></td>
<td class="row1" style="font-weight:bold;"><a href="http://strzelnica-konin.com/"><font

color='339900'><u>strzelnica-konin.com</u></font></td>
<td class="row1" ><a href="http://fragmotion.pl/status2/index.php?s=2" target="_blank"><img src="http://fragmotion.pl/status/index.php?ip=94.23.241.215:27069" title="Strzelnica-Konin.com [FFA+BF2]" alt="FFA+BF2"></a></td>
</tr>

<tr align="middle" border='0'>
<td class="row1" style="font-weight:bold;">3.</td>
<td class="row1" style="font-weight:bold; color:CCFF00; text-align:left;">Strzelnica-Konin [4FUN]</td>
<td class="row1" style="text-align:left;color:red; font-weight:bold;">83.1.164.148:27039</td>
<td class="row1" style="font-weight:bold;" > S/NS </td>
<td class="row1" ><a href="steam://connect/83.1.164.148:27039"><img src="http://strzelnica-konin.com/images/steam_logo_male.png"

border='0'/></a></td>
<td class="row1" style="font-weight:bold;"><a href="http://strzelnica-konin.com/"><font

color='339900'><u>strzelnica-konin.com</u></font></td>
<td class="row1" ><a href="http://fragmotion.pl/status2/index.php?s=3" target="_blank"><img src="http://fragmotion.pl/status/index.php?ip=83.1.164.148:27039" title="Strzelnica-Konin.com [4FUN]" alt="4FUN"></a>





<tr>
<tr><td class="row1" height="23" colspan="7"> <center><img src="http://strzelnica-konin.com/images/serwery_glosowe.png"

/></center></td></tr>
<tr align="middle" border='0'>
<td class="row1" style="font-weight:bold;">1.</td>
<td class="row1" style="font-weight:bold; color:669999; text-align:left;">Strzelnica-Konin [VT]</td>
<td class="row1" style="text-align:left; color:red; font-weight:bold;">188.165.154.140:1100</td>
<td class="row1" style="font-weight:bold;"> VT 2.1.4 </td>
<td class="row1" ><img src="http://strzelnica-konin.com/images/strzelnica/vt_logo.jpeg" border='0'/></td>
<td class="row1" style="font-weight:bold;"><a href="http://net-speak.pl/"><font color='339900'><u>net-speak.pl</u></font></td>
<td class="row1" > <a href="http://net-speak.pl"><img

src="http://panel.net-speak.pl/stat2_vt.php?ip=188.165.154.140&port=1100&img=ns3" border="0" width="350" height="20"

/></a></td>
</tr>
smietek
Spróbuj usunąć ten baner, może to on jest winien przekierowaniu.
xez
Po usunieciu przekierowuje mnie do nastepnego odnosnika - czyli jakbym usunal wszystkie bannery to prawdopodobnie by mnie nie przekierowalo ale nie moge tego zrobic bo to sa sponsorzy.
Pawel_W
na pewno to był shift a nie np. tab? albo alt? winksmiley.jpg
xez
Tak to byl shift.
darko
Pokaż, jakie skrypty js zostają dołączone do dokumentu.
xez
Ogolnie mowiac, autorem kodu nie jestem ja tylko dokonalem kilka minimalnych zmian co do wygladu. Po usunieciu linijek rzekomo odpowiedzialnych za wywolywanie skryptow java problem nie znika. Oryginal wyglada bardzo podobnie i w nim problemu nie ma. Nie mam dostepu do ftp wszystko robilem z poziomu PA forum i nie jestem na tyle rozgarniety zeby powiedziec jakie skrypty zostaly tam uzyte.

Oryginal
Kod
<!-- Staty z google! -->
<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-13014875-1");
pageTracker._trackPageview();
} catch(err) {}</script>

<p align="justify"><a href="http://net-speak.pl/" alt="net-speak.pl/ - Profesjonalny hosting Serverow VT , TS2 , TS3"><img

src="http://net-speak.pl/images/banery/700_120.png" width="468" height="60" border="0" style="float: left;"><a

href="http://strzelnica-konin.com/strzelnica-rozdaje-darmowe-serwery-ventrilo-vt6647.htm#24472" alt="Darmowe serwery VT!"><img

src="http://iv.pl/images/11919511038313879622.jpg" width="468" height="60" style="float: right;" border="0"></a><br><a

href="http://www.cdkeysklep.pl" alt="cd-key"><img src="http://www.forum.fearlex.pl/cdkey.gif" width="468" height="60" border="0"

style="float: left;"><a href="http://strzelnica-konin.com" alt="Radio Strzelnica-Konin"><img

src="http://img204.imageshack.us/img204/8207/logoradio.gif" width="468" height="60" style="float: right;" border="0"></a></p>


<table width="970px" class="forumline" cellspacing="1" cellpadding="0" border="0" align="center"><br>
<tr class="thCornerL" height="25" nowrap="nowrap" 'hm','hm2','hm3');" style="cursor: pointer">
<th border="0">#</th>
<th border="0">Nazwa Serwera</th>
<th border="0">IP Serwera</th>
<th border="0">Rodzaj</th>
<th border="0">Połącz</th>
<th border="0">Sponsor</th>
<th border="0">GameMonitor</th>
</tr>

<tr>
<td class="row1" height="23" colspan="7"><center><img src="http://strzelnica-konin.com/images/serwery_gier.png" /></center></td>
</tr>
      
<tr align="middle" border='0'>
<td class="row1" style="font-weight:bold;">1.</td>
<td class="row1" style="font-weight:bold; color:0099FF; text-align:left;">Strzelnica-Konin [FFA]</td>
<td class="row1" style="text-align:left; color:red; font-weight:bold;">83.1.164.115:27028</td>
<td class="row1" style="font-weight:bold;" > STEAM </td>
<td class="row1" ><a href="steam://connect/83.1.164.115:27028"><img src="http://strzelnica-konin.com/images/steam_logo_male.png"

border='0'/></a></td>
<td class="row1" style="font-weight:bold;"><a href="http://strzelnica-konin.com/"><font

color='339900'><u>strzelnica-konin.com</u></font></td>
<td class="row1" ><a href="http://www.gametracker.com/server_info/83.1.164.115:27028/" target="_blank"><img

src="http://cache.www.gametracker.com/server_info/83.1.164.115:27028/b_350x20_C000000-000000-EC0E0E-EC0E0E.png" border="0"

width="350" height="20" /></a></td>
</tr>
<tr align="middle" border='0'>
<td class="row1" style="font-weight:bold;">2.</td>
<td class="row1" style="font-weight:bold; color:009999; text-align:left;">Strzelnica-Konin [FFA + BF2]</td>
<td class="row1" style="text-align:left;color:red; font-weight:bold;">94.23.241.215:27069</td>
<td class="row1" style="font-weight:bold;" > S/NS </td>
<td class="row1" ><a href="steam://connect/94.23.241.215:27069"><img src="http://strzelnica-konin.com/images/steam_logo_male.png"

border='0'/></a></td>
<td class="row1" style="font-weight:bold;"><a href="http://strzelnica-konin.com/"><font

color='339900'><u>strzelnica-konin.com</u></font></td>
<td class="row1" ><a href="http://www.gametracker.com/server_info/94.23.241.215:27069/" target="_blank"><img

src="http://cache.www.gametracker.com/server_info/94.23.241.215:27069/b_350x20_C000000-000000-EC0E0E-EC0E0E.png" border="0"

width="350" height="20" /></a></td>
</tr>

<tr align="middle" border='0'>
<td class="row1" style="font-weight:bold;">3.</td>
<td class="row1" style="font-weight:bold; color:CCFF00; text-align:left;">Strzelnica-Konin [4fun]</td>
<td class="row1" style="text-align:left;color:red; font-weight:bold;">83.1.164.148:27039</td>
<td class="row1" style="font-weight:bold;" > S/NS </td>
<td class="row1" ><a href="steam://connect/83.1.164.148:27039"><img src="http://strzelnica-konin.com/images/steam_logo_male.png"

border='0'/></a></td>
<td class="row1" style="font-weight:bold;"><a href="http://strzelnica-konin.com/"><font

color='339900'><u>strzelnica-konin.com</u></font></td>
<td class="row1" ><a href="http://www.gametracker.com/server_info/83.1.164.148:27039/" target="_blank"><img

src="http://cache.www.gametracker.com/server_info/83.1.164.148:27039/b_350x20_C000000-000000-EC0E0E-EC0E0E.png" border="0"

width="350" height="20" />





<tr>
<tr><td class="row1" height="23" colspan="7"> <center><img src="http://strzelnica-konin.com/images/serwery_glosowe.png"

/></center></td></tr>
<tr align="middle" border='0'>
<td class="row1" style="font-weight:bold;">1.</td>
<td class="row1" style="font-weight:bold; color:669999; text-align:left;">Strzelnica-Konin [VT]</td>
<td class="row1" style="text-align:left; color:red; font-weight:bold;">188.165.154.140:1100</td>
<td class="row1" style="font-weight:bold;"> VT 2.1.4 </td>
<td class="row1" ><img src="http://strzelnica-konin.com/images/strzelnica/vt_logo.jpeg" border='0'/></td>
<td class="row1" style="font-weight:bold;"><a href="http://net-speak.pl/"><font color='339900'><u>net-speak.pl</u></font></td>
<td class="row1" > <a href="http://net-speak.pl"><img

src="http://panel.net-speak.pl/stat2_vt.php?ip=188.165.154.140&port=1100&img=ns3" border="0" width="350" height="20"

/></a></td>
</tr>


e:
Problemu nie ma gdy zostawie wszystkie 4 bannery a reszte kody pozostawie jak w wersji z pierwszego postu.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.