skip to Main Content
<!-- GetButton.io widget -->
<script type="text/javascript">
    (function () {
        var options = {
            whatsapp: "+123456789", // WhatsApp number
            telegram: "username", // Telegram bot username
            call_to_action: "Need Help ?", // Call to action
            button_color: "#A8CE50", // Color of button
            position: "left", // Position may be 'right' or 'left'
            order: "whatsapp,telegram", // Order of buttons
        };
        var proto = document.location.protocol, host = "getbutton.io", url = proto + "//static." + host;
        var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
        s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
        var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
    })();
</script>
<!-- /GetButton.io widget -->

If we use this free getbuttton.io widget then it shows getbutton.io branding so, is there any way to remove that branding using JS?

2

Answers


  1. it will take like 2 seconds to load. so you can do something like this.

    setTimeout(()=>{
        var x = document.getElementsByClassName("hasyTc");
        x[0].remove();
    },2000)
    

    you can increase 2sec to 5 if it takes more time to load.

    Login or Signup to reply.
  2. I removed GetButton by css code ..
    
    .eARkMz {
    
        opacity: 1;
        display: none !important;
        margin-top: 7px;
        white-space: nowrap;
        margin-right: auto;
        text-decoration: none;
        width: 64px;
        font-family: Roboto, "Helvetica Neue", sans-serif;
        font-size: 11px;
        line-height: 11px;
        border: 0px;
        max-width: inherit;
        color: rgb(175, 175, 175) !important;
    }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search