I'm currently running an html file in webkit gtk view. I set these settings:
let new_settings = new WebKit.WebSettings ();
new_settings.enable_universal_access_from_file_uris = true;
this._web_view.set_settings(new_settings);
thinking they would let me download a file on my computer (which isn't exactly what I'm trying to do but I wanted to test it). This didn't work :/
The html responsible is below:
<a href="resume/resume1.doc"><img class="shadow" src="images/design/1.jpg" alt="img01"></a>
What I'm trying to do is to automatically open resume1.doc inside libre office when the user clicks the image. I'm not too sure how to do that with GTK/HTML
Thanks! :)