DWScript 22.6.28 release

Periodic DWScript release 22.6.28 has been created on the DWScript GitHub.

This release includes a variety of micro-optimizations (many memory-related) for the compiler, runtime and JavaScript codegen, as well as fixes and improvements.

The language syntax has been slightly extended for the Pascal-to-Javascript transpiler to cover the case of read-only external properties. (more…)

Is “inert” the HTML Feature Of The Year?

With Chrome 102 HTMLElement.inert attribute is now active, it is also in the Firefox/Edge/Safari nightlies, so will hopefully become available for those soon.

This inert attribute aims to make interactive HTML inert as a rock.
Yes, it only took 32 years to disable interactivity like in HTML 1.0, hurrah!

To quote MDN:

The HTMLElement property inert is a boolean value that, when present, makes the browser “ignore” user input events for the element, including focus events and events from assistive technologies.

So it is like good old Enabled from the VCL. And this is a great addition to HTML! (more…)

cefHtmlSnapshot 0.7.100 has been released

cefHtmlSnapshot 0.7.100 release is now available on the cefHtmlSnapshot repository.

This version uses CEF 100.0.23 which includes Chromium 100.0.4896.127, and is recommended for production, as it fixes multiple zero-day issues being actively exploited.

The bundled turbojpeg is updated to 2.1.3, though only to keep up as none of the security  and fixes issues applied here.

Finally this version disables the Back/Forward cache, which may not have any effect, but was unnecessary.