L
L
Ler Den2020-10-27 00:31:52
JavaScript
Ler Den, 2020-10-27 00:31:52

How to determine the position of the popup requesting permission from the user?

You need to make an arrow that will point to a popup that asks the user for permission to track geolocation or display notifications. How to determine the current location of this native popup relative to the browser window? In addition to sorting through all the major browsers manually, I didn’t come up with anything better. Maybe there is some normal way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-10-27
@givemoneybiatch

This is a native browser window and should not be accessible from the sandbox. And in general, as far as I remember, from next year there will be no pop-ups in the browser, the user himself must go and turn on the notification, because. 99% of them never turn on (well, according to mozilla).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question