I'm pretty new to javascript, and I've been working on a simple userscript that clicks buttons on a webpage (that I have no control of.) I have had no problem getting and clicking buttons or divs with listeners, however, there is one button I need to click which only appears after a first button has been clicked. When I Inspect Element on this, all it gives me is an empty Canvas which surrounds the buttons. I have gone through the entire source, and cannot find these buttons anywhere! How can I access them with JavaScript? Here is an example of such a box and button in Agar.io (hey, it's the first place I could find one!)
This is the popup: Three button Popup
And this is the code associated with the inspect element:
<div data-v-9c4d2b0c="" id="openfl-content" style="transform: translate(0%, -50%) scale(0.895); cursor: default;"><canvas style="transform: translateZ(0px); width: 880px; height: 1024px; margin-left: 0px; margin-top: 0px;" width="880" height="1024"></canvas></div>
Somebody please help me find my buttons!