1
<!doctype html>
2
<html>
3
<body>
4
  <input type="text" id="blog" placeholder="Please enter the full url of your blog"></input>
5
  <input type="button" id="button" value="Crawl" onclick="crawl();"></input>
6
  <script type="text/javascript">
7
    function crawl()
8
    {
9
    var xhr = new XMLHttpRequest();
10
    xhr.open('POST','http://dev.a11y.in/scrape',true)
11
    xhr.send('url='+ document.getElementById('blog').value);
12
    document.getElementById('button').disabled = true;
13
    }
14
  </script>
15
</body>
16
</html>