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大家好,我只想知道 chrome 扩展是否可以使用 Ctrl + P 命令访问由 chrome 浏览器创建的打印对话框
1 个解决方案
解决方案1
0 2020-12-01 05:28:14
In javascript, you may call the following function:在 javascript 中,您可以调用以下 function:
window.print();
You can learn more about it here .您可以在此处了解更多信息。 This can be called in most browsers without special priveleges.这可以在没有special权限的大多数浏览器中调用。