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

Viewed 149

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 Answers

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.

Related