html page typo

Talk about anything related to Unvanquished.
epicdude
Dretch
Posts: 58
Joined: Thu Nov 01, 2012 3:07 am UTC
Location: Poland, European Union of Communism

Re: html page typo

Post by epicdude »

Quick fix that makes it go away even on firefox 3.5 is

change
document.write('<script type="text/javascript" src="' + yuipath + '/animation/animation-min.js?v=4111"></script>');
to
document.write('<script type="text/javascript" src="' + yuipath + '/animation/animation-min.js?v=4111"><'+'/script>');
this breaks the </script> that confuses the old parser.

<N7Reaper> Put your whole fist in
<epicaldude> thats what urmooooom said

epicdude
Dretch
Posts: 58
Joined: Thu Nov 01, 2012 3:07 am UTC
Location: Poland, European Union of Communism

Re: html page typo

Post by epicdude »

Firefox 3.5 and still present, though now you seem to corrected it by adding CDATA tags... hmm wonder why it still doen't work then.

<N7Reaper> Put your whole fist in
<epicaldude> thats what urmooooom said

User avatar
Gireen
Graphic Designer
Posts: 295
Joined: Wed Mar 07, 2012 1:26 pm UTC
Clan: [DoH]
Location: Germany
Contact:

Re: html page typo

Post by Gireen »

Firefox 3.5 ...
pfft

fear ma engrish :granger:

epicdude
Dretch
Posts: 58
Joined: Thu Nov 01, 2012 3:07 am UTC
Location: Poland, European Union of Communism

Re: html page typo

Post by epicdude »

It's still the default browser of stable release of most popular non-ghay linux distro.

I think it might be a bug in firefox.. or it cares about CDATA only in other DOCTYPE? Either way, the fix is to add 3 characters as I written above. Will you? :)

<N7Reaper> Put your whole fist in
<epicaldude> thats what urmooooom said

User avatar
Asvarox
Mantis
Posts: 104
Joined: Mon Mar 19, 2012 11:59 am UTC

Re: html page typo

Post by Asvarox »

If that stable release has default browser that is 3,5 years(!) old, then there's something really wrong with it.

epicdude
Dretch
Posts: 58
Joined: Thu Nov 01, 2012 3:07 am UTC
Location: Poland, European Union of Communism

Re: html page typo

Post by epicdude »

Asvarox wrote:

If that stable release has default browser that is 3,5 years(!) old, then there's something really wrong with it.

other pages I use daily have no problem. even flash, youtube and other gimmicks. Debian Stable is quite popular so instead typing above just type:
'+'
and the problem is solved

<N7Reaper> Put your whole fist in
<epicaldude> thats what urmooooom said

Post Reply