Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I made a browser extension that allows scripting short webpage interaction scenarios[0] using a custom DSL. The DSL allows to point to elements using on-screen labels, similarly to trydactil, pentadactyl and such. The DSL actions are essentially functions that accept arguments, for example one can describe something like "enter 'foo' in google search field and press the button" with a script line similar to: "|'foo'a c", where 'a' and 'c' correspond to labels on the screen.

These scenario descriptions can then be bound to hotkeys.

I decided to embed a LISP into the extension, but while building the interpreter[1] I realized that the DSL is already too complex for everyday use, and I haven't really used it to automate anything.

I am the only user of this addon.

[0] https://github.com/axes-webext/axes [1] https://gitlab.com/kiniro/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: