Own javascript code for autofill problematic sites

Bitwarden autofill isn’t working on some webpages, so I think it would be great if we could manually enter our own javascript code which provides direct access to login/password field. For example autofill recently stopped working on https://login.ingbank.pl/mojeing/app/#login-new
however I managed to select login field with this code:
document.querySelector("#layout-region > div > login-subapp").shadowRoot.querySelector("div > main > provider-login-content").shadowRoot.querySelector('[data-tag-name="login-form"]').shadowRoot.querySelector('[data-tag-name="ing-form"] > form > [name="login"] > [name="login"]')

A post was merged into an existing topic: Allow fields containing user scripts (aka GreaseMonkey aka ViolentMonkey) to ease quirky logins