X
Tap here to go to the mobile version of the site.
IMPORTANT ANNOUNCEMENT: We’re going through some system changes, that may have slowed responses to your questions. If you had asked a question in the last couple of months, please re-post it and the community will help you as soon as we can. If you’ve registered after February 7th, please register again, the accounts on the previous site were not migrated to this temporary site. If you joined us before February 7, please reset your password if you have trouble logging into this temporary site.

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.

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

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:<br> var is_khtml = (navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled ));<br> This no longer works in Firefox 9 and above. Navigator.taintEnabled is no longer supported.<br> See http://forums.mozillazine.org/viewtopic.php?f=25&t=2392487<br>
cor-el
  • Top 10 Contributor
  • Moderator
14847 solutions 134573 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)

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.<br /> That causes a stylesheet to be added that changes the margin of that menu causing it to get moved down. *http://forums.mozillazine.org/viewtopic.php?f=25&t=2392487 Formatting of my site changes in FF 9.0 ---- *[https://bugzilla.mozilla.org/show_bug.cgi?id=679971 Bug 679971] – remove Navigator.taintEnabled() <i>(please do not comment in bug reports)</i>