You could probably write a qutebrowser userscript similar to the other password scripts which already exist:
https://github.com/qutebrowser/qutebrowser/tree/master/misc/...
Hopefully, things will also get easier in the future with the upcoming plugin API:
https://lists.schokokeks.org/pipermail/qutebrowser-announce/...