如何禁用谷歌加一个(+1)按钮的悬停泡沫?

Rép*_*pás 6 javascript google-plus-one

在我的页面中,如何删除谷歌+1按钮的工具提示消息?

示例:http://www.google.com/webmasters/+1/button/

文档:http://code.google.com/apis/+1button/

我尝试了很多方法,但无法弄清楚.

Khe*_*dar 11

根据您同意使用其API的Google政策,您不应该这样做:http: //www.google.com/webmasters/+1/button/policy.html.

您不能修改按钮,包括其行为.

您可以通过Google的机器人控制,如同一页中所述.如果您不想要按钮的行为,请不要使用Google的+1 API.


Mar*_*tin 11

我同意@Kheldar,但作为一个教学课程,以下是你将如何做到这一点:

当弹出窗口显示时,HTML以此开头:

<table cellpadding="0" cellspacing="0" style="width: 324px; height: 68px; " frame="void" rules="none" class="gc-bubbleDefault pls-container">
Run Code Online (Sandbox Code Playgroud)

只需添加一些CSS即可显示:

.gc-bubbleDefault, .pls-container
{
   display: none !important;
}
Run Code Online (Sandbox Code Playgroud)