Auto-click function for google sign button using javascript
Read this post on codesplanet.blogspot.com