Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<script type="text/javascript">
var CLIENT_ID = '*************************************.apps.googleusercontent.com';
var SCOPES = ['https://www.googleapis.com/auth/gmail.readonly'];
var USER = 'me';
/**
* Called when the client library is loaded to start the auth flow.
$('.dataCard').not('.focused').each(function(){
var div = $('<div />', {
css: {
height: $(this).height();
}
});
$(this).replaceWith(div);
div.animate({
height: 0
}, function(){