Store admin page into variable

In case something like this would ever need to somebody, I solved pinging the page with an AJAX request

$.ajax({
     url: 'your_url_to_ping',
     beforeSend: function(xhr) {
     //something
     }
 }).done(function(data) {
     //something else with your data
 });

The page would be into your response data.