title: How do i click a button on a webpage different from the one i currently have open using javascript (Tampermonkey)
body: <p>this is my first time here, so hi to everyone!</p>
  
  <p>i recently started learning and practicing javascript, mostly writing scripts in Tampermonkey.</p>
  
  <p>At one point i came across XmlHttpRequest and managed to retrieve a page in DOMstring and parse it to a DOM Tree, using the GET method.</p>
  
  <p>Now i wonder if there's a way with XmlHttpRequest or any other way to interact with a page different than the one i currently have loaded.</p>
  
  <p>So for example, i have 2 pages from the same domain and the pages are a part of a CMS. The first is a blank page with only a button included, the second page includes tools to review a new user account.</p>
  
  <p>Is it possible to press the button in the blank page and make an interaction in the second. like, pressing an "approve user account" button?</p>
  
  <p>I should add that i cannot change things server-side and the button is created for example, with Tampermonkey.</p>
  
  <p>Thank you for any answer i receive and i hope i wasn't too vague with my question</p>