Elektrine lite

← Feed

@bohwaz@mamot.fr

Post #1726346

2026-04-26 18:51 UTC

@dillo The dilloc command seems awesome. I'm wondering if we could use it for more advanced uses. For example "select p.classname" and then "dump selection" to dump only the selected element. Another use could be "dilloc dump selection css" to see which styles are applied to an element by Dillo (similar to what you can do in the firefox web inspector). Or another use case might be to do screenshots "dilloc screenshot > webpage.png". Or "dillo scroll +50". OK might not be useful for everyone…

Replies (2)

  • @bohwaz@mamot.fr 2026-04-26 18:51

    @dillo (don't take this as a list of things to implement, just wild dreams that I thought when seeing the command)

    Open ##1726347

  • @dillo@fosstodon.org 2026-04-26 18:59

    @bohwaz thanks! For HTML selection I normally use "dilloc dump | xq ...": https://github.com/sibprogrammer/xq Regarding screenshots, I already implemented it for rendering tests, but I need to test it a bit more specially under Wayland and other platforms. For the scroll, I think you could just inject the Space key into window, which will scroll the configurable step size. But yeah, it probably will grow to cover more actions in the following releases :)

    Open ##1726348