我想在点击 google plus follow 按钮后将用户重定向到prizepage.html。
我该怎么做?
相关代码如下:
<div class="follow">
<h1>Follow us for your free prize</h1>
</div>
<div class="g-follow" data-annotation="vertical-bubble" data-height="24" data-href="https://plus.google.com/101560853443212199687" data-rel="publisher"></div>
<script src="https://apis.google.com/js/platform.js" async defer></script>
最佳答案
不,这是不可能的。 Google+ Follow Button显示支持的功能,并且用户点击或关注时不会触发任何事件或回调。
关于javascript - 单击关注按钮时将用户重定向到 Google+,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51346777/