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
Asked
Active
Viewed 261 times
2

Janaravi
- 125
- 1
- 1
- 10
1 Answers
0
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.

myjobistobehappy
- 736
- 5
- 16
-
I want to access the print dialog elements inside that dialog @myjobistobehappy – Janaravi Dec 01 '20 at 05:55
-
@Janaravi, Are you talking about something like [html2canvas](https://html2canvas.hertzen.com/)? – myjobistobehappy Dec 01 '20 at 06:14
-
nope I want to access the dialog box from the content script or any way of accessing that dialog box to change that type save as – Janaravi Dec 01 '20 at 11:09