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
| // This function is used to remove specific branding elements. | |
| function removeBranding() { | |
| // Select the iframe and access its content. | |
| var iframe = document.querySelector("iframe[title*='chat']"); | |
| if (iframe && iframe.contentDocument) { | |
| var iframeDocument = iframe.contentDocument; | |
| // Create a new style tag. | |
| var style = document.createElement('style'); | |
| style.innerHTML = ` |
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] { |
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
| let spell_list = [ | |
| ["slm", "selam"], | |
| ["slmm", "selam"], | |
| ["mrb", "merhaba"], | |
| ["mrbb", "merhaba"], | |
| ["nbr", "naber"], | |
| ["nbrr", "naber"], | |
| ["nslsn", "nasılsın"], | |
| ["naslsnn", "nasılsın"], | |
| ["nslsnn", "nasılsın"], |