A
A
Andrew2015-03-27 04:22:54
JavaScript
Andrew, 2015-03-27 04:22:54

How to prevent output of XHR finished loading request in chrome console?

Hello!
On the basis of the Mozil pdf viewer, I made my own viewer, which does not allow you to download the file and track where it is. Everything seemed to be hidden. But in the chrome console there is a "preserve log" checkbox. If you click it, the line is displayed:
XHR finished loading: GET
How to disable its output?
ecacb682e54743b1845f426344748233.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mayorovp, 2015-03-27
@Salk

Try console.clear(). But this is all nonsense, because there is such a thing as the Network tab of the developer tools.
And even if you find a way to block developer tools - that is also fiddler, which does not block in any way.
If for some reason it is so important for you that the file is not downloaded, generate one-time links. Or even give your file from the server to your viewer page by page. However, this still does not prevent anyone who needs to download the file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question