Last active
December 16, 2025 08:51
-
-
Save arafathusayn/101a211b3d8122876d70cf1af04ae81d to your computer and use it in GitHub Desktop.
Remove Tawk.to Branding (2022)
This file contains hidden or 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 element = document.querySelector("iframe[title*=chat]:nth-child(2)").contentDocument.querySelector(`a[class*=tawk-branding]`) | |
| if (element) { | |
| element.remove() | |
| } | |
| } 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
hello all of you guys, here is how you remove all the brandings whether outside chat or inside chat widget for tawk.io
For React/Next.js
Import this above component in root of your react/Next js.
And for plain JS: