question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Popup Creation Fails

See original GitHub issue

When opening a new window/tab with JavaScript, unlike all other browsers, SEB returns null in method window.open(...)'. As a result, setting the URL in the second statement does not work.

var targetWindow = window.open("","_blank");
...
targetWindow.location.href = '<the real url>';

_Originally posted by @uhensler in https://github.com/SafeExamBrowser/seb-win-refactoring/discussions/228#discussioncomment-1604061_

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:50 (28 by maintainers)

github_iconTop GitHub Comments

1reaction
uhenslercommented, Aug 15, 2022

We have added the mentioned code of the University of Zurich to the public release of OpenOlat. This allows the use of the SEB JavaScript API.

This code does not solve the problem of opening a new window/tab on SEB for macOS. The JavaScript variable window is always null, so there is an exception. This seems to be and bug in the SEB. Can you please look into this?

In the GUI this leads to a popup with the message “Quit Safe Exam Browser: Are you sure you want to quit Safe Exam Browser?”.

1reaction
danschletcommented, May 18, 2022

There is no version 3.4 for Mac yet, the latest stable version 3.1 will be released later this week. From the above mentioned page you can get a release candidate version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Your First Popup
If the error goes away after changing your theme, then your theme is probably creating some mischief with your popups.
Read more >
Error popup when creating a new project
Hi there,. I just installed VS 2019, and whenever I try to create a new project I get the error illustrated in the...
Read more >
How to change hard error popup handling in Windows
This article describes how to change the hard error popup mode and give example code.
Read more >
Error message pop up at start up on windows 10, as " ...
How to solve the error message popping up at startup on windows 10? The error message is as shown below. “Unhandled exception has...
Read more >
Popup Problems - YouTube
Popups and many kinds of modal dialogs are often intrusive user ... Here are some of the worst popup UX sins. ... Creating...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found