Skip to content

v0.12.6

Pre-release
Pre-release

Choose a tag to compare

@citkane citkane released this 19 Jun 14:34

This is a bugfix release that fixes inconsistent behaviour between OS platforms in a bind(); init(); run(); or bind(); set_html(); run(); call sequence.
Depending on platform, the bound script, init script or <script> tags are never processed, leading to silent failure.

Fixed

  • bound functions for init scripts and HTML scripts will execute consistentently across platforms.

Changed

  • If the user owns the window, Linux and Mac will call "set_html` after the main Webview script injection. This ensures that the DOM is ready to recieve scripts.
  • If the user owns the window, Windows will reload the browser location after pre-dom script injection, ensuring that the scripts are triggered.