Hi Diego On Sat, Jul 13, 2024 at 01:36:19PM +0200, Diego wrote:
I think a good way is to reduce functionality to a minimum. Not to make a full scripting language, but rather moderately complex hook rules that can call external scripts or DPIs with complex functionality.
This is not a scripting language, just a way to describe rules that can be transformed in quick operations at runtime. We won't be reinventing JS.
Another mistake that can be made is to replace the DPI infrastructure. I think a cooperation between the two is better.
There is no plan to remove the support for DPI plugins, just to increase the capabilities for hooking.
DPIs and authorized scripts can set temporary rules and be called by dillo on events. Fixed rules in a rules file call complex scripts or DPIs.
That's more or less the idea.
The problem with the DPI infrastructure is that it is an unfinished infrastructure with very little documentation.
There are other structural problems, please check the related issues. https://github.com/dillo-browser/dillo/issues/65 https://github.com/dillo-browser/dillo/issues/56 Best, Rodrigo.