A
A
Alexander2015-10-01 15:58:13
JavaScript
Alexander, 2015-10-01 15:58:13

How to copy a link to a file?

Hello. When you click on the button, a link to the file appears, which can only be seen, for example, through Firebug in the "Network" tab.
34938ee0832a769d127611404b3097b6.jpg
Tell me how to copy this link and paste it in the right place on the site after clicking? Perhaps there is a ready-made script for working with such links?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivanq, 2015-10-01
@Ivanq

Copied from DevTools. Enable Network in settings, click on the request, in the right tab, click on the contents of the Request URL. Ta-dam!!!

S
Stalker_RED, 2015-10-01
@Stalker_RED

Find the handler for this button, find out how the link is formed.
If it is possible to modify the handler, it will be quite simple.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question