Viser spørgsmål med mærket: Vis alle spørgsmål
  • Løst
  • Arkiveret

Major Problem with regExp.exec and regExp.test

I'm a programmer, and I'm using regExp's to simplify my life in a chat thing. Basically, ":blue:" in a chat will essentially be replaced with "". because there can be all… (læs mere)

I'm a programmer, and I'm using regExp's to simplify my life in a chat thing. Basically, ":blue:" in a chat will essentially be replaced with "". because there can be all sorts of colors, I can't use replace. Instead, I used regExp.exec(string). However, there is a major bug where every other time, the regExp.exec returns null even if there IS a match. If the chat is ":blue:", the response will alternate as :blue:,null,:blue:,null,etc. If the chat is ":blue: :red:" (e.g. two color blocks) the response will go :blue:,null,null,:blue:,null,null and so on. Basically, if there are 'x' color blocks defined, the .exec will work every x+1 times, and the other times it will not find a match. this also happens with regExp.test. I have gone through my code hundreds of times, and finally, I decided to run it in Opera. It works PERFECTLY fine. even in IE, it works. So i had to assume it was some bug with Firefox.

I hope this question catches the attention of the MOZILLA DEVELOPERS, as this is huge.

I'm not sure if it's just me. However, I have uploaded an html file onto http://jsbattle.tablocks.com/Untitled-1.html (the subdomain had a different purpose, but i figured i would put it here), and it will alert :blue: and null (at least for me). You can view the source code. An important note is that this .exec and .test glitch only happens inside functions. for example, regExp.exec twice just in a script tag will run fine, but while in a function abc() {regExp.exec} and executing abc(); abc(); it'll glitch out. I have not run extensive tests to see when this glitch occurs, this is all I know. Please help, Mozilla Developers. And if anyone knows how to contact the Mozilla Developers, tell me, or address them of this issue.

Stillet af remax49 for 11 år siden

Besvaret af cor-el for 11 år siden

  • Løst
  • Arkiveret

Cannot change "number of results" on Google Search preferences; it stays fixed at 10, why?

Running 3.6 on Windows 7. I have deleted all cookies, deleted preferences.js, and do not know what else to do. This has been the status for about a week now. The only t… (læs mere)

Running 3.6 on Windows 7. I have deleted all cookies, deleted preferences.js, and do not know what else to do. This has been the status for about a week now. The only thing I can think of that I have installed at around the same time is Microsoft Security Essentials, but disabling its real-time protection did not change the behavior. It may be a system issue, since I have the same problem with Chrome and IE 8! I use ZoneAlarm, Symantec Endpoint Protection 11, Spybot as well, but I'm not sure how those would affect this particular setting. Thanks in advance.

Stillet af gcat8888 for 11 år siden

Besvaret af cor-el for 11 år siden

  • Løst
  • Arkiveret

When I click the MFF desktop icon Firefox takes exactly 30 seconds to load, is that right?

I have just installed Firefox and it takes 30s from clicking the desktop icon to loading the home page. Tabs only take about 2s, is this right? IE loads in 2-3 s. … (læs mere)

I have just installed Firefox and it takes 30s from clicking the desktop icon to loading the home page. Tabs only take about 2s, is this right?

IE loads in 2-3 s.

Stillet af Physicist for 11 år siden

Besvaret af TonyE for 11 år siden

  • Løst
  • Arkiveret

Toolbar above address line has disappeared (File, Edit, View, etc.)

Noticed that the toolbar above the address line on my Firefox home page has disappeared.....the line with "File, Edit, View, History", etc. Can't figure out how to get it… (læs mere)

Noticed that the toolbar above the address line on my Firefox home page has disappeared.....the line with "File, Edit, View, History", etc.

Can't figure out how to get it back....without it, I'll just go back to IE.

Stillet af omraa for 11 år siden

Besvaret af cor-el for 11 år siden

  • Løst
  • Arkiveret

Actually, FF doesn't crash, it's hanging, when i try to open links or sending forms, are processed with JS

Any link or button which is processed with Javascript causes firefox to hang. Its window doesn't responsing, however, after some seconds, a small window (that seems like … (læs mere)

Any link or button which is processed with Javascript causes firefox to hang. Its window doesn't responsing, however, after some seconds, a small window (that seems like a js-alert window) is shown. This window has 2 buttons, but there's no text in a whole window. Window's title in taskbar is just "Untitled window". If i close this window, firefox hangs again for a few seconds (the main window is having artifacts of other windows until that small window will be shown again)

In certain cases, after i kill the main window process, there is appeared the requested by link window.

I've got these bugs on Gmail options page, for example (but that trouble finding me everywhere on the net, on forums, sites, portals etc.)

I've tried to disable all the plugins, remove my ~/.mozilla, rebuilding firefox – no results.

Firefox is built on Gentoo linux OS. `emerge --info firefox` can be found here: http://pastie.org/1318950

Here are some screenshots: http://images.netbynet.ru/imgs/86fd071c0143d6977f9bce91585da346.png http://images.netbynet.ru/imgs/128419a536bec6e65a940e0546aa6741.png

--- Sorry for my english, guess there are a lot of mistakes again, right?

Stillet af fargred for 10 år siden

Besvaret af the-edmeister for 10 år siden

  • Løst
  • Arkiveret

My bookmarks backup file is not matching JSON and couldn’t restore them

4 days ago I backed up the bookmarks of my firefox explorer. After I upgraded to Windows 7 I tried to restore my important bookmarks. I got the message that the file ty… (læs mere)

4 days ago I backed up the bookmarks of my firefox explorer. After I upgraded to Windows 7 I tried to restore my important bookmarks. I got the message that the file type is not supported. It should be JSON, but it is something deferent. I don’t know why it been saved in deferent format. Is there any solution for this problem? I really need my bookmarks, it contains very important links to my work.

Stillet af AbuLaith for 11 år siden

Besvaret af cor-el for 11 år siden

  • Løst
  • Arkiveret

How do I change the default Outlook mailto: account

I just upgraded to a new computer with Windows 7 and Outlook 2010. I'm running Firefox 3.6.9. When I right click on a website and choose "Send link", Firefox correctly u… (læs mere)

I just upgraded to a new computer with Windows 7 and Outlook 2010. I'm running Firefox 3.6.9.

When I right click on a website and choose "Send link", Firefox correctly uses Outlook as the email client. However, I have several accounts configured in Outlook (gmail, my work account, my ISP account, etc) and the account Firefox uses is not the one I want to use. I want my gmail account to be the default, not my work account which is what it uses.

Outlook is correctly configured to have my gmail account as my default address. For example, if I choose "New email" from within Outlook, the account it uses is my gmail account. If I want to use another account, I have to manually change it.

I want my Firefox Mailto: to work the same way. I can't find anything within Firefox that allows me to specify which account Outlook uses; Outlook itself is set to use gmail as the default account; what am I doing wrong?

Stillet af bwalton for 11 år siden

Besvaret af deepspacefan for 11 år siden

  • Løst
  • Arkiveret

JavaScript does not work although Java has been properly installed and enabled javascript in the options menu. Surprisignly the javascript works fine in Internet Explorer.

I have installed FireFox 3.6.9 and after while JavaScript has started to malfunctioning, although I have the latest Java installed (Java 6 Update 21) and JavaScript turne… (læs mere)

I have installed FireFox 3.6.9 and after while JavaScript has started to malfunctioning, although I have the latest Java installed (Java 6 Update 21) and JavaScript turned on in my Options menu. I have tried already several times to reinstall Java and Firefox as well, but nothing helps, the Firefox browser still ignores the installed java. I am running Windows Vista. I have had once the same problem long time ago, but don't remember, how did I solve it. Otherwise, I have been really satisfied with Firefox and would like to keep using it, however, without Javascript running it is useless.

Stillet af janofano for 11 år siden

Besvaret af cor-el for 11 år siden

  • Løst
  • Arkiveret

Plugin Java 1.6-0 Works on Firefox? How Can I make it work?

Firefox 3.6.9, don't recognice my java plugin. I did a symbolic link on my linux System as follows: /usr/lib/firefox-3.6/plugins# ln -s /usr/java/plugin/i386/ns7/libjavap… (læs mere)

Firefox 3.6.9, don't recognice my java plugin. I did a symbolic link on my linux System as follows:

/usr/lib/firefox-3.6/plugins# ln -s /usr/java/plugin/i386/ns7/libjavaplugin_oji.so

But applets don't work. My java version is 1.6.0. I search a lot but I don't find solutions. May you Help me please?

This is my linux system: CentOS Release 5.4

What can i do for my java plugin works on my firefox.

Stillet af harman739 for 11 år siden

Besvaret af cor-el for 11 år siden

  • Løst
  • Arkiveret

My Firefox Start page has no internet address box or awesome box, only the Google search box.

Before the latest update of my Mozilla Firefox, the Firefox Start page contained an internet address box near the top of the screen, where I could enter an internet addre… (læs mere)

Before the latest update of my Mozilla Firefox, the Firefox Start page contained an internet address box near the top of the screen, where I could enter an internet address and hit go. It also showed the Google search box in the middle of the screen.

Now, after the Firefox update, the Start page only shows the Google search box. There is no internet address box nor an "awesome box," which according to my reading of the new features is supposed to have replaced the internet address box.

Stillet af rongren for 11 år siden

Besvaret af cor-el for 11 år siden

  • Løst
  • Arkiveret

Cannot save preferences for Google search.

I have use custom settings for history. I have checked accept cookies from sites and accept third party cookies. This problem keep recurring. Why? I check the Google sea… (læs mere)

I have use custom settings for history. I have checked accept cookies from sites and accept third party cookies. This problem keep recurring. Why? I check the Google search preferences I want and sometimes one of the preferences gets saved but not the number of results per page I prefer. Or, I get an error message that cookies are not enabled.

It is bad enough having to use Firefox NON-support to begin with. Then to find a fix and have the same problem recur over and over again is ludicrous.

Stillet af TheByzantine for 11 år siden

Besvaret af cor-el for 11 år siden

  • Løst
  • Arkiveret

Google keeps defaulting to the search setting of 10 results after I set it to 30.

Norton alway ate the Google cookie that saved search setting, which is one reason I hated Norton, and I've had Panda Cloud for several weeks, with no problem at first, bu… (læs mere)

Norton alway ate the Google cookie that saved search setting, which is one reason I hated Norton, and I've had Panda Cloud for several weeks, with no problem at first, but now, when I set the search setting to 30 or 50 results, it won't even do one single search with that setting, it pops back to 10 results.

Stillet af ParrotSlave for 11 år siden

Besvaret af TonyE for 11 år siden

  • Løst
  • Arkiveret

Does Firefox have a problem with the latest Flashplayer as it keeps telling me it needs updating, even after being updated

I am running Firefox 3.6.9 and have updated to Flashplayer 10.1 r53, but the system keeps telling me when I check for plugin updates that Flashplayer is vulnerable and a … (læs mere)

I am running Firefox 3.6.9 and have updated to Flashplayer 10.1 r53, but the system keeps telling me when I check for plugin updates that Flashplayer is vulnerable and a security risk??? I have contacted Adobe is that was a lot of help NOT Does anyone know what is going on with this program, besides having some very sophisticated reporting software installed within the program

Stillet af lasaboy for 11 år siden

Besvaret af TonyE for 11 år siden

  • Løst
  • Arkiveret

How to get rid of username lists in the Gmail window. I access Gmail with Firefox.

It is a small but annoying problem. I, and sometimes friends, use my Gmail account to check their email. In the username window of Gmail, which I access with Firefox 3.6.… (læs mere)

It is a small but annoying problem. I, and sometimes friends, use my Gmail account to check their email. In the username window of Gmail, which I access with Firefox 3.6.9, a list of all past users shows up when I click in the window. I cleared Google cookies, and All history, but the list remains! I can hide the list, but not clear it, if I check 'Form and search history'. But the list is alive and well when I uncheck this option! Is there a way to get rid of the list?

Stillet af raminder for 11 år siden

Besvaret af TonyE for 11 år siden

  • Løst
  • Arkiveret
  • Løst
  • Arkiveret

unistall incompatible add-ons

Firefox 3.6 won't allow incompatible add-ons to be uninstalled. This is a pain since it clutters up the add-on box with garbage. How can incompatible add-ons be uninst… (læs mere)

Firefox 3.6 won't allow incompatible add-ons to be uninstalled. This is a pain since it clutters up the add-on box with garbage.

How can incompatible add-ons be uninstalled or removed?

Stillet af anon1999a for 11 år siden

Besvaret af the-edmeister for 11 år siden