mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 23:28:06 +02:00
Reporting print usage
This commit is contained in:
parent
a45e10337c
commit
7ac1c6b034
4 changed files with 18 additions and 0 deletions
|
@ -1570,6 +1570,12 @@ var PDFView = {
|
|||
for (i = 0, ii = this.pages.length; i < ii; ++i) {
|
||||
this.pages[i].beforePrint();
|
||||
}
|
||||
|
||||
//#if (FIREFOX || MOZCENTRAL)
|
||||
// FirefoxCom.request('reportTelemetry', JSON.stringify({
|
||||
// type: 'print'
|
||||
// }));
|
||||
//#endif
|
||||
},
|
||||
|
||||
afterPrint: function pdfViewSetupAfterPrint() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue