Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

I want the dialog that asks if you want to suppress dialog boxes from a webpage to never come up. How would I go about doing this?

more options

I have a script running via javascript on a page that automaticly silently prints a page however it does create a small dialog box that shows a progress bar. I cannot just suppress the dialog box because then the printing does not occur. Is there I can make it so that firefox never asks me if I want to suppress these dialog boxes.

Thank you in advance.

I have a script running via javascript on a page that automaticly silently prints a page however it does create a small dialog box that shows a progress bar. I cannot just suppress the dialog box because then the printing does not occur. Is there I can make it so that firefox never asks me if I want to suppress these dialog boxes. Thank you in advance.

Todas as respostas (5)

more options

Is that progress bar from Firefox? Or is that coming from Windows or from print drivers?

more options

I am unsure of which it is, all it says is printing. I just need mozilla to stop asking me if I want dialog boxes produced by the page suppressed.

I have added a picture of the "printing" dialog box

more options

Attached is the box asking if I want the dialog boxes suppressed. This is the one I want to suppress/never show up

more options

Create a new Integer pref with the name dom.successive_dialog_time_limit and set the value to 0.

more options

Did you have to create a print.always_print_silent preference in order to encounter this issue?

I'm surprised Firefox offers the ability to suppress its own print progress dialog if that has the effect of breaking printing. This might have been an unintended consequence of the patch designed to protect users from being tormented by alert() and other script dialogs. Maybe someone should file a bug to exempt this one?