Skip to content

Instantly share code, notes, and snippets.

@Pudochu
Last active October 8, 2023 18:06
Show Gist options
  • Save Pudochu/22db0a035a1a641ad31a1cba44351220 to your computer and use it in GitHub Desktop.
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)
@turkwr
Copy link

turkwr commented Jun 14, 2023

good

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