JSFiddle - React, Tailwind, and code Playground

by Helmut Granda

HTML

<div class="share-cell last" id="gplus"><g:plusone size="small" annotation="none" href="http://www.ups.com"></g:plusone><span>Google Plus</span></div>

CSS

#gplus-ie {
    background-image: url(https://ssl.gstatic.com/s2/oz/images/stars/po/Publisher/sprite.png);
    display: block;
    width:24px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: -75px -42px;
}

JavaScript

/*(function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
*/

ie7 = false;

if($.browser.msie)
{
    if ( $.browser.version.slice(0,1) == 7 )
        ie7 = true;
}


if (ie7){

$("#gplus").remove();

}else{
        
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
        
}