Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Hello! One of the main thing is not quite ok is permitting users to copy text from javascript Prompts.

  • 1 odpowiedź
  • 1 osoba ma ten problem
  • 5 wyświetleń
  • Ostatnia odpowiedź od Wesley Branton

more options

Can you please tell me why do Firefox permit users to copy text from js prompt? Regarding general permissions, this functionality "can be prevent", but why not in firefox? There is somebody that can post a prevent possibility to copy text from a javascript prompt, alert or confirm (native).

This could be very helpful.

Can you please tell me why do Firefox permit users to copy text from js prompt? Regarding general permissions, this functionality "can be prevent", but why not in firefox? There is somebody that can post a prevent possibility to copy text from a javascript prompt, alert or confirm (native). This could be very helpful.
Załączone zrzuty ekranu

Wszystkie odpowiedzi (1)

more options

You can copy text from pretty much any element of the Firefox UI, unless it's clickable (because that would break functionality). There's no reason why that shouldn't be the case, since the text is visible anyway.

If you really wanted to, you can prevent the ability to copy text (with the exception from the actual box you can type in on a prompt) by using the following code in a userChrome.css file:

.content-prompt description {
    user-select: none !important;
}

If you have not previously used a userChrome.css file before, check out the How to Create a userChrome.css File page by userChrome.org for more information.

Hope this helps.