View Single Post
Unread 17 Jun 2020, 12:18   #2
Pit
Hole in the ground
 
Join Date: Oct 2012
Posts: 169
Pit is a glorious beacon of lightPit is a glorious beacon of lightPit is a glorious beacon of lightPit is a glorious beacon of lightPit is a glorious beacon of light
Re: Attention needed

The calc issue appears to be chromium being "helpful". The relevant error is:
Quote:
A window.confirm() dialog generated by this page was suppressed because this page is not the active tab of the front window. Please make sure your dialogs are triggered by user interactions to avoid this situation.
Interestingly, if the browser console is open in the target tab when you use the "Add to bcalc" link, there is no error and it works as expected so I guess they want to hide this behaviour from developers.

I suspect the only way around it would be to present the ships dialog as part of the page, or skip it altogether. Google does like to break things - They claim this is the same in Firefox, but as you indicated the implementation is much friendlier there.

ETA: same behaviour (including "it works it the developer pane is open") confirmed on chromium Edge, so that's not one of the things MS fixed.

Last edited by Pit; 17 Jun 2020 at 12:25.
Pit is offline   Reply With Quote