Last active
October 8, 2023 18:06
-
-
Save Pudochu/22db0a035a1a641ad31a1cba44351220 to your computer and use it in GitHub Desktop.
[NEW] Remove Tawk.to Branding (2023)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
good