Strange Electron Webview Behavior

Noticed some strange Electron <webview> behavior while working on a proof-of-concept for the next version of Doctrine.

I have a simple page with a <webview> tag displaying a local HTML file. If the local HTML file contains a link and the user clicks on it, the default browser should open the URL instead of the <webview>.

The following code produces the expected results:

webview.addEventListener('will-navigate', (event) => {
    // Order is important or URL will open in …
more ...

Thoughts On Writing BakeScale

Recently, I wrote a simple web app called BakeScale which converts common cooking and baking ingredients between weight and volume. I am not a web developer by profession so rather than using the new hotness I used slightly older versions of Bootstrap and jQuery since I have some prior experience with both; just a few quick thoughts on these two web development tools.

While jQuery seems to be falling out of favor with the web …

more ...

Hacking Together HTML With YAML And Mustache

Forewarning, this is a hack and an ugly one too. Without getting into the backstory, the idea was to see if it is possible to render YAML data to HTML using a Mustache template, all locally (i.e. no server, just a single local HTML file). Turns out it is possible... sort of.

Before getting to the code, a few notes:

  • This probably shouldn't be used for anything ever (although it was a fun experiment …
more ...


Hi, I am Jeff Rimko!
A computer engineer and software developer in the greater Pittsburgh, Pennsylvania area.