Ceisteanna leis an gclib seo á dtaispeáint: Taispeáin gach ceist
  • Réitithe

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. ``` /**************… (tuilleadh eolais)

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 mhí ó shin

Answered by Roland Tanglao 3 mhí ó shin

  • Réitithe
  • Cartlannaithe

Locally stored website won't go away!?

So, we have our website.... When we update the website through our web editior, it saves and we can view the changes through a mobile device. However, we can't view the c… (tuilleadh eolais)

So, we have our website....

When we update the website through our web editior, it saves and we can view the changes through a mobile device. However, we can't view the changes through any of the machines in the office?!

I have tried: clearing data/cache; ipconfig /flushdns

Nothing seems to work. I then opend our wesbite through Opera Browser and could see the updated webpage, but through Firefox - the old website...please help :)

Asked by markoid 1 bhliain ó shin

Answered by markoid 1 bhliain ó shin

  • Réitithe
  • Cartlannaithe

My website is not working in Firefox but its working fine in Chrome

I just made my website and it's not working in Firefox however in chrome its working fine. It's in Wordpress. Is something wrong with my wordpress plugins. It gives me e… (tuilleadh eolais)

I just made my website and it's not working in Firefox however in chrome its working fine. It's in Wordpress. Is something wrong with my wordpress plugins.

It gives me error that says "Secure Connection Failed"

Website Link : http://esportsrush.com/

https://i.imgur.com/QnrvzMg.jpg

Can't use the add images button below so posting imgur link here.

Asked by gomu 1 bhliain ó shin

Answered by cor-el 1 bhliain ó shin

  • Faoi Ghlas
  • Cartlannaithe

how to open a firefox browser through selenium 3.6.0 with another profile using Javascript

I would like to open firefox through selenium and upon file download, the file to be stored on another path other than the default, the downloads folder, automatically, w… (tuilleadh eolais)

I would like to open firefox through selenium and upon file download, the file to be stored on another path other than the default, the downloads folder, automatically, without getting the prompt dialog.

This is can be done through configuring a new profile but I can't find any implementation example on the web.

Thank you in advance

Asked by tzifosPali 1 bhliain ó shin

Last reply by Roland Tanglao 1 bhliain ó shin

  • Réitithe
  • Cartlannaithe

Open a IE window from parent page launched using Firefox

We have an application that was integrated with several other legacy applications in the organization. We started upgrading our application to HTML 5 standards to make it… (tuilleadh eolais)

We have an application that was integrated with several other legacy applications in the organization. We started upgrading our application to HTML 5 standards to make it work with all modern browsers such as Firefox, Chrome and Edge. Now the problem is that, our application has redirect links to 3 to 5 legacy applications that were coded for IE 7 and no where in the migration path. When the users click on these links while working on our application, Firefox opens a blank page, making them as blockers for our application uplift. 1) is there a way to force a link to open in IE while the parent page is launched using Firefox ? I have seen this link : https://stackoverflow.com/questions/43615678/force-a-link-in-i-e-to-open-in-firefox , but this is for the opposite requirement...open Firefox from IE. 2) how do you run applications requiring .cab files on Firefox ? if there is an answer for this, we don't need to worry about #1.

Thanks.

Asked by Ravix5 1 bhliain ó shin

Answered by Roland Tanglao 1 bhliain ó shin

  • Faoi Ghlas
  • Cartlannaithe

Firefox Video control template

Hello team firefox! I'm building my own webpage, where some videos are played (with scenes, so there will be a back and next button). When i embeed a video with the contr… (tuilleadh eolais)

Hello team firefox!

I'm building my own webpage, where some videos are played (with scenes, so there will be a back and next button). When i embeed a video with the controlls, everything works. But: as soon as i turn on fullscreenmode (which the videos are played in normally), my two next and back buttons dissapeer (behind the video ofc).

So my questions to you: could you please send me your video control html, css and js? Would be reaaaly cool of you!

Asked by paasi6666 1 bhliain ó shin

Last reply by Roland Tanglao 1 bhliain ó shin