X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

When opening site wikitravel.org, the left pane gets shifted to the bottom of the page.

Posted

When I open http://wikitravel.org/en/Main_Page in Firefox 9.0.1, the navigation pane on the left gets shifted to the bottom of the page. Vertically, it starts where the right pane ends.

Chosen solution

You can ask the admin of this site to update their MediaWiki software, because it is outdated and uses broken browser sniffing. The problem is in this line in wikibits.js:
var is_khtml = (navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled ));
This no longer works in Firefox 9 and above. Navigator.taintEnabled is no longer supported.
See http://forums.mozillazine.org/viewtopic.php?f=25&t=2392487

Read this answer in context 1

Additional System Details

Sites Affected

http://wikitravel.org/en/Main_Page

Installed Plug-ins

  • Google Talk Plugin Video Accelerator version:0.1.44.14
  • Version: 2.5.6.0
  • Shockwave Flash 11.1 r102
  • The Adobe Reader plugin is used to enable viewing of PDF and FDF files from within the browser.
  • This plug-in detects the presence of iTunes when opening iTunes Store URLs in a web page with Firefox.
  • DivX Web Player version 1.4.0.233
  • The Totem 2.30.2 plugin handles video and audio streams.

Application

  • User Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

More Information

knorretje 161 solutions 582 answers

Chosen Solution

You can ask the admin of this site to update their MediaWiki software, because it is outdated and uses broken browser sniffing. The problem is in this line in wikibits.js:
var is_khtml = (navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled ));
This no longer works in Firefox 9 and above. Navigator.taintEnabled is no longer supported.
See http://forums.mozillazine.org/viewtopic.php?f=25&t=2392487

cor-el
  • Top 10 Contributor
  • Moderator
10762 solutions 96861 answers

Helpful Reply

That is caused by an old JavaScript that runs on that page and that is using the no longer supported navigator.taintEnabled() function to do improper browser sniffing.
That causes a stylesheet to be added that changes the margin of that menu causing it to get moved down.


(please do not comment in bug reports)