Showing questions tagged: Show all questions
  • Solved

javascript settimer broken FF 73.0

I have the following Javascript code which has been working for over 10 years and still works on Chrome, but does not work on FF 73.0 on Ubuntu Linux. ``` /**************… (read more)

I have the following Javascript code which has been working for over 10 years and still works on Chrome, but does not work on FF 73.0 on Ubuntu Linux.

```

/************************************************************************

*  timer														        *
*																		*
*  This timer is started whenever the user presses a key in the input	*
*  field and pops if 0.9 second passes without a new keystroke			*
************************************************************************/

var timer = null;

/************************************************************************

*  function onKeyDownName												*
*																		*
*  This method is called when a key is pressed in the Name field.		*
*  A timer is set so that when the user stops typing the selection		*
*  list is repopulated.												*
*																		*
*  Input:																*
*		event	if passed, event.keyCode identifies the key pressed		*
*				in older releases of Internet Explorer use window.event	*
************************************************************************/

function onKeyDownName(event) {

   if (timer)

clearTimeout(timer);

   timer	= setTimeout(update, 900);

} // function onKeyDownName

/************************************************************************

*  function update														*
*																		*
*  This method is called when the user stops typing to repopulate		*
*  the selection list based upon the current contents of the Name		*
*  field.  It is also the onchange method for the following fields:	*
*  'birthmin', 'birthmax', 'incMarried', 'includeParents',				*
*  'includeSpouse', and 'Sex', and it is called by the onchange		*
*  method for the field 'treeName'.									*
************************************************************************/

function update() {

   var	form	= document.nameForm;
   if (form)
   {		// form present

var url = "/FamilyTree/getIndivNamesXml.php"; ... code to complete url by appending values of elements from form // invoke script to obtain list of names for selection list HTTP.getXML(url, // see O'Reilly Javascript gotNames, noNames);

// clear out the old selection list while we are waiting var select = form.individ; select.options.length = 0;

// put a dummy entry at the top of the selection, otherwise // selecting the first name does not call onchange var name = '[choose an individual]'; var option = new Option(name, -1, false, false); option.innerHTML = '[choose an individual]'; select.appendChild(option);

   }		// form present
   else
       alert("nominalIndex.js:update: cannot find form");

} // function update ```


When I put alerts into nameOnKeyDown and update I see that nameOnKeyDown is called but update is never called.

You can see the above code in action at https://www.jamescobban.net/FamilyTree/nominalIndex.php?name=allenby,%20a&treename=&lang=en

This code has worked for over 10 years, and still is working today on Chrome, but the timer never pops on Firefox 73.0 on Ubuntu Linux 19.10.

Asked by jamescobban 3 months ago

Answered by Roland Tanglao 3 months ago

  • Locked

Help... long running scripts have been crashing my browser for months now.

Long running scripts have been a constance daily occurrence every time I use my desktop computer since seems like forever. This is the latest one: chrome://calendar/conte… (read more)

Long running scripts have been a constance daily occurrence every time I use my desktop computer since seems like forever. This is the latest one: chrome://calendar/content/calendar-base-view.xml:198..... Not sure if they are all calendar scripts because I'm not always given any script info, just a non responding error message sometimes. I asked for help once before and tried what was suggested, as best I could, but I still have the aggravating problem just as often as ever. However, admittedly I'm not all that computer savy and am more of a user than I am a fixer. My browser is up-to-date and I also reloaded a new one recently. Add-ons are also disabled. Any help at all will be appreciated, thanks.

Asked by BJ 5 months ago

Last reply by BJ 3 months ago

  • Solved
  • Archived

cant delete history, keep getting java no enable

Java application This function has been disable That's the message I'm getting. running Firefox 52.7.3 on Windows XP sp3 How can I fix this from Firefox or do I need anot… (read more)

Java application This function has been disable

That's the message I'm getting. running Firefox 52.7.3 on Windows XP sp3

How can I fix this from Firefox or do I need another Browser.

Asked by mistyone 2 years ago

Answered by mistyone 2 years ago

  • Locked
  • Archived

a web page is slowing down your browser

Hi all, I'm using the latest version of FF 53.0.3 (32-bit) on Windows 7, and lately, every single tab loads slow with a momentary pop-up stating "a web page is slowi… (read more)

Hi all,

     I'm using the latest version of FF 53.0.3 (32-bit) on Windows 7, and lately, every single tab loads slow with a momentary pop-up stating "a web page is slowing down your browser".  The pages do end up loading, and I see others have this problem as well.  I am wondering if it's because Flash (again using the latest version) no longer works as Firefox has done away with all add-ons??  Getting extremely frustrated with Firefox.  I don't get these error pop-ups in Chrome!

Asked by candygirl777 3 years ago

Last reply by James 2 years ago

  • Solved
  • Archived

Firefox doesn't work even after reinstall

Firefox suddenly stopped working today. When I open it, it tells me that it's already open (which it isn't) and that it can't find or load my profile. If I go directly to… (read more)

Firefox suddenly stopped working today. When I open it, it tells me that it's already open (which it isn't) and that it can't find or load my profile. If I go directly to profiles and create a new one, I can open it, but all my bookmarks are gone. And then if I close and try to reopen it, the same thing happens--I can't open it and get the same error message.

One thing I figured out is that the profile can’t be read only, and I discovered that mine was (why I don't know), but when I try to uncheck read only, it instantly reverts back to read only, which is weird.

I’ve tried reinstalling Firefox several times, but it’s always the same, even with a brand-new installation, I can’t open it and get the same error message. What can I do if reinstalling doesn’t even work?

Asked by carlwhart 3 years ago

Answered by carlwhart 3 years ago

  • Solved
  • Archived

I keep getting "unresponsive script" error reports and I've tried many options including refeshing firefox. any ideas?

I have an HP Pavillon, Juno email and Firefox is my default browser, At some point while accessing my email I will get the "unresponsive script" error and although it gi… (read more)

I have an HP Pavillon, Juno email and Firefox is my default browser, At some point while accessing my email I will get the "unresponsive script" error and although it gives my options to continue, debug or close, none of it works and computer freezes. So I have to go to Task Manager and close everything down and start over. Very frustrating. It has also happened when I have been on other websites or with Internet Explorer. HP has tried fixing it, Juno has tried ....all to no avail. I've tried refresh, done many virus/malware scans, etc. It seems to me there is a plug-in or an add-in or some box somewhere not checked. Any ideas?

Asked by JolietJim 4 years ago

Answered by JolietJim 4 years ago

  • Solved
  • Archived

Can Firefox be optimized for google docs

When I bring up a spreadsheet online in google docs Firefox starts dimming the screen, others tabs run slow. The screen dimming will last, for 2-3 minutes, and then clear… (read more)

When I bring up a spreadsheet online in google docs Firefox starts dimming the screen, others tabs run slow. The screen dimming will last, for 2-3 minutes, and then clear up, 2-3 minutes later it will dim again. The fewer tabs I have helps, but not the answer. IMO the problem has gotten worse over the few upgrades. I have an HP 2000 Laptop, CPU 1300.000 MHz, memory 7586 MiB.

Thx, Larry

Asked by l6griffin 5 years ago

Answered by l6griffin 5 years ago

  • Solved
  • Archived

Firefox hangs very frequently after upgrading to 36 on Mac OS

I have Mac OS X 10.6.8. I recently upgraded to Firefox 36.0.1. Ever since the upgrade Firefox hangs on most of the news and other websites that I frequent. Anything that… (read more)

I have Mac OS X 10.6.8. I recently upgraded to Firefox 36.0.1. Ever since the upgrade Firefox hangs on most of the news and other websites that I frequent.

Anything that can be done to fix this?

Asked by ShopMalabar 5 years ago

Answered by gggeek 5 years ago

  • Solved
  • Archived

Javascript is not working.

I downloaded and installed Javascript but I am unable to get it to load. When I go to my addon settings it says it vulnerable and won't allow me to enable. I have tried g… (read more)

I downloaded and installed Javascript but I am unable to get it to load. When I go to my addon settings it says it vulnerable and won't allow me to enable. I have tried giving each specific site permission to run but sites such as Netflix and Facebook will not work and tell me it is because Javascript is not enabled.

Asked by ReturningUser 5 years ago

Answered by guigs 5 years ago