Last active
February 26, 2025 16:39
-
-
Save Pudochu/22db0a035a1a641ad31a1cba44351220 to your computer and use it in GitHub Desktop.
[NEW] Remove Tawk.to Branding (2023)
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 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
Presently this code not worked, please provide new code for remove branding.