Skip to content

Instantly share code, notes, and snippets.

@Pudochu
Last active February 26, 2025 16:39
Show Gist options
  • Select an option

  • Save Pudochu/22db0a035a1a641ad31a1cba44351220 to your computer and use it in GitHub Desktop.

Select an option

Save Pudochu/22db0a035a1a641ad31a1cba44351220 to your computer and use it in GitHub Desktop.
[NEW] Remove Tawk.to Branding (2023)
var removeBranding = function() {
try {
var iframeDocument = document.querySelector("iframe[title*=chat]:nth-child(2)").contentDocument;
var style = document.createElement('style');
style.innerHTML = `
a[class*=tawk-button-small] {
display: none !important;
}
a[class*=tawk-branding] {
display: none !important;
}
`;
iframeDocument.head.appendChild(style);
} catch (e) {}
}
var tick = 100
setInterval(removeBranding, tick)
@s2vdeveloper
Copy link

Presently this code not worked, please provide new code for remove branding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment