How to access print dialog of chrome browser to do DOM manipulation with chrome extension

334 Views Asked by At

Hello folk I just want to know is there a way for a chrome extension to access the print dialog created by the chrome browser using Ctrl + P command enter image description here

1

There are 1 best solutions below

3
On

In javascript, you may call the following function:

window.print();

You can learn more about it here.
This can be called in most browsers without special priveleges.