is there any possibility for the library to give 'suspicious site alert' on Edge browser #1734
arafat0007
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
[What I am doing]
I display pdf using the library.
Input: Blob data returned from backend
output: using Blob data to display as pdf
Sample code for backend returning data:
setting data in Frontend:
Other setting:
pdfjs worker setting
pdfjs.GlobalWorkerOptions.workerSrc = '//unpkg.com/pdfjs-dist@${pdfjs.version}/build/pdf.worker.min.js';
[Issue]

After deploying the work, I have seen 'suspicious Site' alert on Edge browser. Chrome is fine.
Can the below be a reason of unsafe alert?

I think that domain URL is not the issue as I have another functionality whose URL is URL/something and I did not get error for that.
Beta Was this translation helpful? Give feedback.
All reactions