Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

JavaScript support does not open new windows

  • 5 replies
  • 1 has this problem
  • 29 views
  • Last reply by James

more options

Try http://www.aphayes.pwp.blueyonder.co.uk/ephemeris/index.html and select the sun or moon option. Works on iPad with Safari but only works on MacBook with Firefox

Try http://www.aphayes.pwp.blueyonder.co.uk/ephemeris/index.html and select the sun or moon option. Works on iPad with Safari but only works on MacBook with Firefox

All Replies (5)

more options

Works for me and opens a pop-up window when I click the buttons.

That is an input button with an onclick attribute:

<input name="sun" value="Sun" onclick="doSun(observer,1)" type="button">

Do you have any extensions that can block JavaScript?

Start Firefox in Safe Mode to check if one of the extensions (Firefox menu button/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox menu button/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window
more options

On an iPad2 with latest iOS the window opens but the result of the computations is not there just a blank window.

more options

The Sun page is created by this JavaScript:

This is a requested pop-up window without any special code and should work if everything is OK.

  • pwin=window.open("","sun","menubar,scrollbars,resizable");

If that script isn't working the you can check the Web Console or the Browser Console (Firefox menu button or Tools > Web Developer) for error messages.

Did you try Safe Mode?

more options

I repeat this is on an iPad there is no Firefox menu bar, as far as I can see, as there is on a MacBook so your suggestions seem not to be available. These web pages work using Firefox opening a new window with the results of the calculation on Windows (or did when I had a company laptop) and on a MacBook. It is only the iPad release that the window opens without the specified title or calculation results.

more options

So you are saying this is a problem with the Firefox shell browser on iOS and not desktop Firefox?

Moved thread from Firefox to Firefox for iOS section.