title: How to get Google reCAPTCHA v2 data-sitekey?
body: <p>I have this code for my Google Chrome extension which solves reCAPTCHA automatically.</p>
  
  <pre><code>"use strict"
  
  var sid = setInterval(function () {
      if (window.location.href.match(/https:\/\/www.google.com\/recaptcha\/api\d\/anchor/) &amp;&amp; $("#recaptcha-anchor div.recaptcha-checkbox-checkmark").length
              &amp;&amp; $("#recaptcha-anchor div.recaptcha-checkbox-checkmark").is(':visible')  &amp;&amp; isScrolledIntoView($("#recaptcha-anchor div.recaptcha-checkbox-checkmark").get(0)))
          {
              var execute = true;
  
              if (sessionStorage.getItem('accesstime'))
                  {
                      if (new Date().getTime() - sessionStorage.getItem('accesstime') &lt; 7000)
                          {
                              execute = false;
                          }
                  }
  
              if (execute)
                  {
                      $("#recaptcha-anchor div.recaptcha-checkbox-checkmark").click();                    
                      sessionStorage.setItem('accesstime', new Date().getTime());
                  }
                  clearInterval(sid);
  
          }
  }, 500);
  </code></pre>
  
  <p>My question is...</p>
  
  <p>From the above code. How do I get the data-sitekey and page url?</p>