title: AJAX Call Without jQuery For Bookmarklet
body: <p>I have a bookmarklet that saves a webpage's url (and the current_user's id from my application), but it only works on pages that have jQuery available. I need to make an AJAX call without jQuery and am having a lot of trouble. Here's the code (please note, the first part is necessary for the bookmarklet to work): </p>
  
  <pre><code> javascript:var url = document.URL; var user_id = &lt;%= current_user.id  %&gt;;   
    $.ajax({     
      url: 'http://getinstagrab.herokuapp.com/api_test',     
      dataType: 'json',     
      method: 'get',     
      data: { content: {user_id: user_id, url: url} },     
      success: function(){       
        console.log('snatched')     
      }   
    });
  </code></pre>