dimanche 1 janvier 2017

How to know full url of image with javascript

I want to know full url of image in webpages.

But some images only have a inner url.

As an example, the src value of google main image is "/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"

How do I get the full path of image with javascript?




Aucun commentaire:

Enregistrer un commentaire