up209d / ResourcesSaverExt

Chrome Extension for one click downloading all resources files and keeping folder structures.
GNU General Public License v3.0
1.65k stars 337 forks source link

onMouseOver/out images #21

Closed jaffakke closed 5 years ago

jaffakke commented 5 years ago

When using ResourcesSaver to download a page, images that are referenced in onMouseOver/onMouseOut are not downloaded to the local machine.

For example: <img title="Hello" src="/ico/view.png" onmouseover="this.src='/ico/view.hover.png'" onmouseout="this.src='/ico/view.png'" />

The /ico/view.png is downloaded, however the /ico/view.hover.png file isn't. Is there a setting where we can specify to grab these images?

many thanks

up209d commented 5 years ago

@jaffakke Oh, that's a tricky case as the browser actually doesn't load the asset until you hover the mouse to the image. By now, you might need to manually perform mouse hover for the browser to catch the hidden assets, then you can download.