为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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于修改