搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

I cannot view web pages correctly formatted on this site.

  • 3 回覆
  • 9 有這個問題
  • 5 次檢視
  • 最近回覆由 cor-el

more options

When I select a song from the list and view it on my XP machine it shows nicely formatted. This is on Firefox 3.6.18 . On my newer Dell Windows 7 64 bit machine, Firefox 6.0.2 it displays it as unformatted lines of code.

When I select a song from the list and view it on my XP machine it shows nicely formatted. This is on Firefox 3.6.18 . On my newer Dell Windows 7 64 bit machine, Firefox 6.0.2 it displays it as unformatted lines of code.

所有回覆 (3)

more options

Make sure that you do not block JavaScript.

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).


Reload web page(s) and bypass the cache.

  • Press and hold Shift and left-click the Reload button.
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Cmd + Shift + R" (MAC)
more options

Hi, Thanks for the response. However I tried this and it made no difference. Please suggest something else.

regards

Chris

more options

I see an error in the Tools > Error Console about c[5] is undefined with some of the songs.
It looks that current Firefox versions have a problem with one section of the code.

var re_crd = /([A-Ga-g][#b]?)((maj|[moM])?(sus)?[2-9]?)*(\/([A-Ga-g][#b]?))?/;
.....
c = c.split(re_crd);
if (c[5].length > 0) {

Changing the parse_song() code by adding this test to change the undefined array members to an empty string ("") seems to work.

c = c.split(re_crd);

for (cC=0; cC < 6; cC++) { if (c[cC] == undefined) c[cC]=""; }

if (c[5].length > 0) {

So it looks that the websites need to change that code.
I don't know if this is a bug (regression) or a changed interpretation of parsing rules.

由 cor-el 於 修改