| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 5.4 source code.tar.gz | 2025-01-27 | 30.2 MB | |
| 5.4 source code.zip | 2025-01-27 | 30.6 MB | |
| README.md | 2025-01-27 | 1.9 kB | |
| Totals: 3 Items | 60.7 MB | 2 | |
⚡ Features
AllA new function for executing Javascript as iswindow.run_js(code)without returning a resultAllNewbefore_loadevent that is fired right before pywebview code is injected into the page. The event roughly corresponds toDOMContentLoadedDOM event.AllScreenobject now have origin coordinates asscreen.xandscreen.yEdgeChromiumAdd remote debugging support viawebview.settings['REMOTE_DEBUGGING_PORT']. Thanks @Lugribossk
🚀 Improvements
AllImplement a len method forEventobjects to get a number of event subscribers.AllThe order of firing of loading eventsloading,before_loadandloadedis standardized across the platforms.AllWindowobjects can now be exposed via JS APIAllMakewebview.settingskey immutable.GTK'undefined'and'null'string values are no longer translated to None during JS API serialization.CocoaAdd support for the download attribute on links. Thanks @maddyaby.CocoaIgnore ssl errors for local HTTP server by defaultCocoaNative Color Picker on MacOS is drawn in the wrong place [#1568]. Thanks @maddyabyCocoaImproved support for py2app [#1565]EdgeChromiumUpdate webview2 binaries to 1.0.2957.106
🐞 Bug fixes
HTTPFix loading local urls with a hash served by local HTTP server.EdgeChromiumDelete browser data in private mode on program exitCocoaFix typo inabortModalcall. Thanks @simonrobCocoaFix missing menuCocoaFix window close termination when pressing Cmd+Q. Thanks @mikeylemmon.CocoaFix missingget_active_window. Thanks @sardinationWindowsFix window placing in certain monitor layouts when assigning to a specific monitor.WindowsFix a short blank when closing the window. Thanks @godcop