The user requirement (believe it or not) is on input type="password" fields to use the browser (Edge only) default "reveal" icon where available and otherwise use my bespoke solution.
I believe that MS uses shadow DOM to implement the eye image and even if that DOM is hidden I also believe there are ways of interrogating it.
My requirement id to feature detect the "reveal" functionality without browser sniffing.
How can I search the DOM on DOMContentLoaded to see the Eye?
Please help!