Jump to content

Recommended Posts

Posted

is there some method :
to get path to image in the browser cache
to make image show itself (load) on the page (IE in OS configured to not to not show images by default)

For now it like this:

$picNameOrig = StringRegExpReplace($rawHTML,'(?is).*<img src="http:.+/(.+?)" />.*', '$1')
$picExtOrig = StringStripWS(StringMid($picNameOrig,StringInStr($picNameOrig,".",0,-1)+1),3)
$Path_Cache = RegRead ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "Cache" ) & "\Content.IE5"
$mask = StringRegExpReplace($picNameOrig,"\.","*")
$fileList = _FileSearch($Path_Cache, $mask, 1)

and i get image to load by right-clicking on it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...