Skip to content

Instantly share code, notes, and snippets.

@MR-POSITIVE
MR-POSITIVE / README.md
Created September 19, 2022 07:30 — forked from GendelfLugansk/README.md
Dynamically change tawk locale

If you need to change tawk's locale dynamically (i.e. in SPA), here is the code I use. There is a small issue, though - everytime tawk adds new div to body and there is no way to correctly detect it and remove (ids are dynamic and there is no classname). However, as far as it is hidden, this should not be a problem.