I am curious to know as when you install mozilla firefox and they open a website to let you tour the features of the browsers and from the click to call actions they are able to highlight options like the hamburger menu on the top right (they even open it), the pad lock icon near the navigation bar. Is that something they do using JS? If yes, then how?
As far as I know the browser does not gives you control via JS outside the window or viewport. Check out this url in firefox you will know what I am referring to https://www.mozilla.org/en-US/firefox/46.0.1/tracking-protection/start/?step=1