My app needs to display an image from a webpage in which the link on the webpage is the actual data of the image.
In other words, when I hover over the link on the webpage, and select "Copy Link Address" the clipboard then contains this:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA.....................................................Jggg==
(where the "........" is actually a bunch of base64 encoded data of the image that I removed from the above line so it wont take up the entire screen.
If I click this link in a desktop Firefox browser, it will prompt me to "Open" the file(data) with an image viewer or to save the file to disk.
In order to display the image from within my app, I first need to download the data in that link.
But, when I click the link in a webview, the wv_overrideurl event never triggers - webview just sits there with a dumb look on its face.
Anyone have an idea why the event doesn't trigger for this special type of "data:" link?
In other words, when I hover over the link on the webpage, and select "Copy Link Address" the clipboard then contains this:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA.....................................................Jggg==
(where the "........" is actually a bunch of base64 encoded data of the image that I removed from the above line so it wont take up the entire screen.
If I click this link in a desktop Firefox browser, it will prompt me to "Open" the file(data) with an image viewer or to save the file to disk.
In order to display the image from within my app, I first need to download the data in that link.
But, when I click the link in a webview, the wv_overrideurl event never triggers - webview just sits there with a dumb look on its face.
Anyone have an idea why the event doesn't trigger for this special type of "data:" link?