![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
How to disable auto header and footer from firefox desktop Application
I build a Firefox desktop application for my company. i need to print some page from that application using JS window.print(). It Works Perfectly in my application. But the problem is when it printing my document it prints a header and a footer automatically. I Want to remove this. I can remove this on Firefox browser , but i cant remove this on my application. Please Somebody Help Me. here is my application link: https://marketplace.firefox.com/app/hmspro User Login : admin / Password: 123 if you want to get into printing page navigate invoice > paid invoice > print button. I also tryed from about:config and disable all default header footer. but it wont worked.
所有回复 (1)
Hi saaiful, Thank you for posting your question. window. will print header and footer.
Here are some solutions I found after researching your issue:
- http://forums.mozillazine.org/viewtopic.php?f=12&t=216810
- http://stackoverflow.com/questions/82.../remove-header-and-footer-from-window-print
- http://www.dreamincode.net/forums/top.../22598-using-windowprint-without-printing-header-and-footer/
- take a screenshot and create a page that is printable http://www.webdeveloper.com/forum/showthread.php?210947-Using-window-p...
- Target to another window then print: http://www.liferay.com/community/foru.../3401817
Hope this helps.