Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
PDFTron WebViewer
Conversations
Labels
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
Error with undefined functions in CoreWorker.js
19 views
XOD
javascript
Skip to first unread message
Ryan - PDFNet Developer
unread,
Dec 16, 2016, 1:53:38 PM
12/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PDFTron WebViewer
Question:
Our proxy server does javascript filtering, and we are getting errors in CoreWorker.js for undefined functions.
Answer:
To add custom functions for the workers to use, you can add an importScripts() definition to the beginning of CoreWorker.js.
https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts
Reply all
Reply to author
Forward
0 new messages