How to disable Google + one (+1) bubble pointing button?

On my page, how can I remove the google +1 button tooltip?

Example: http://www.google.com/webmasters/+1/button/

Documentation: http://code.google.com/apis/+1button/

I tried many ways, but I can not understand.

+6
source share
4 answers

It is assumed that you should not do this in accordance with Googleโ€™s policies that you agree to using your API: http://www.google.com/webmasters/+1/button/policy.html .

You are not allowed to modify the button, including its behavior.

You can control Googlebots as indicated on one page. If you donโ€™t want button behavior, donโ€™t use the Google +1 API.

+11
source

I agree with @ Heldar, but as a tutorial, here's how you do it:

When a popup appears, HTML starts with this:

<table cellpadding="0" cellspacing="0" style="width: 324px; height: 68px; " frame="void" rules="none" class="gc-bubbleDefault pls-container"> 

Just add CSS to not show it:

 .gc-bubbleDefault, .pls-container { display: none !important; } 
+11
source

Firefox users. Print and follow these steps to disable / disable / remove Google +1 buttons from search results with or without AdBlock or AdBlock Plus and without having to create a Google profile.

1) Go to the "Firefox Profiles" folder on your hard drive.

To find your Firefox profiles in Windows XP, Vista, 7, press: [Windows Key] + [R] โ†’ enter (minus quotation marks): "% APPDATA% \ Mozilla \ Firefox \ Profiles" โ†’ click "OK"

or from the taskbar, press: START โ†’ RUN โ†’ Enter (minus quotation marks):
"% APPDATA% \ Mozilla \ Firefox \ Profiles" โ†’ click "OK"

The profiles folder opens. There is likely to be only one folder in the Profiles folder.

2) Open the folder with the extension ".default".

3) Locate the folder named Chrome in the .default folder. If the Chrome folder does not exist, you must create it. (If there is a Chrome folder, go to # 4).

To create a Chrome folder: right-click inside the .default folder โ†’ Select NEW FOLDER โ†’ enter (without quotes): โ€œChromeโ€

4) Open the Chrome folder and create a .text file called userContent.css. (The contents of this file tells Firefox not to display +1 buttons on web pages.)

To create a text file called userContent.css: right-click inside the Chrome folder โ†’ Select NEW โ†’ TEXT DOCUMENT โ†’ Enter (without quotes): "userContent.css"

Windows will open the Rename dialog box that says: If you change the file name extension, the file may become unusable. Are you sure you want to change it? Well no

Choose YES

5) Open userContent.css. (It will open in Notepad with a field called: userContent.css - Notepad).

6) Insert the following into your notebook (minus quotation marks): ".esw {display: none! Important;} / * Hides the +1 button completely * /"

Be sure to include the period (.) Before "esw" in the above.

7) Save the Notepad file and close it: select FILE โ†’ SAVE โ†’ FILE โ†’ CLOSE (or select X in the title bar of the folder to close)

8) Close the remaining open folders.

9) If Firefox is not closed, close it. Reopen Firefox Browser. Go to the Google search page and search. The Google +1 buttons will disappear from all future search results.

+2
source

I have the same problem as buttons with buttons in the same layout as facebook and twitter share buttons (from addthis)
without a hint g + is not +1, but a fraction

it exists but is hidden. (url parameter required - https://plus.google.com/share?url= {URL})

on https://developers.google.com/+/plugins/share/
scroll down ... to Share Link .. with sample code

 <a href="https://plus.google.com/share?url={URL}" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes, scrollbars=yes,height=600,width=600');return false;"> <img src="https://www.gstatic.com/images/icons/gplus-64.png" alt="Share on Google+"/></a> 

ok with addthis class addthis_button_google_plusone_share
not yet in their api docs, as if they added it later

- I'm a little annoyed by their mismatch
(tw โ†’ js: window.open vs fb, g + โ†’ url: _black)
- adds url tracking codes - well, it can be disabled

 <script type="text/javascript"> var addthis_config = { data_track_clickback: false } </script> 

facebook and twitter treat it the same way | - get the parameter in the corresponding URL

fb: http://www.facebook.com/sharer/sharer.php?u= {URL}
tw: https://twitter.com/intent/tweet?text=XXXX&url= {URL} & related =

0
source

Source: https://habr.com/ru/post/896200/


All Articles