Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

On Monday the 3rd of March, around 5pm UTC (9am PT) users may experience a brief period of downtime while one of our underlying services is under maintenance.

Mozilla Support में खोजें

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Customize printer button behaviors in built-in PDF viewer

  • 2 प्रत्युत्तर
  • 1 यह समस्या है
  • 68 views
  • के द्वारा अंतिम प्रतियुतर jenkincs

more options

Hello, Is it possible to customize the printer button behaviors in built-in PDF viewer by using javascript or any other...? When user click view button on my page, my app will open the pdf file with watermark within built-in PDF viewer. When user click the printer button in built-in PDF viewer, I need to execute some code to get the unwatermark pdf file and print the pdf. Is it possible to do that? thanks for your help!!!!

Hello, Is it possible to customize the printer button behaviors in built-in PDF viewer by using javascript or any other...? When user click view button on my page, my app will open the pdf file with watermark within built-in PDF viewer. When user click the printer button in built-in PDF viewer, I need to execute some code to get the unwatermark pdf file and print the pdf. Is it possible to do that? thanks for your help!!!!

चुने गए समाधान

You can't modify the built-in PDF viewer, but you can install the web app version of the PDF viewer on your web server and modify it to your liking. Then you can serve PDFs through your viewer instead of directly to Firefox.

संदर्भ में यह जवाब पढ़ें 👍 1

All Replies (2)

more options

चयनित समाधान

You can't modify the built-in PDF viewer, but you can install the web app version of the PDF viewer on your web server and modify it to your liking. Then you can serve PDFs through your viewer instead of directly to Firefox.

more options

@jscher2000, Thank you very much for your reply! I will try it right now. Thanks!