How to stop Google+ Sign-In Button from popping up the message “Welcome back, you've already connected with this app via Google+ Sign-In as …”

前端 未结 4 2298
渐次进展
渐次进展 2020-12-28 18:02

I\'m adding Google+ sign in button to my site using the server-side flow. Here is how I render the sign in button:



        
4条回答
  •  北荒
    北荒 (楼主)
    2020-12-28 18:18

    The accepted answer is the right way to do it, but if for some other reason you just want to hide the generated iframe, you can do it with CSS:

    iframe[src^="https://apis.google.com"] {
      display: none;
    }
    

提交回复
热议问题