hide tawk.to for amp & 404/403 pages ?

Created on 24 July 2021, over 3 years ago
Updated 23 April 2023, over 1 year ago

How to hide tawk.to chat for

amp pages? *?amp is not working

<!-- THEME DEBUG -->
<!-- THEME HOOK: 'tawk_to' -->
<!-- BEGIN OUTPUT from 'modules/contrib/tawk_to/templates/tawk-to.html.twig' -->
<!--Start of Tawk.to Script-->
<script type="text/javascript">
  var Tawk_API=Tawk_API||{};
  Tawk_API.visitor = {
    name: "",
    email: "",
  };
  var $_Tawk_LoadStart = new Date();
  (function () {
    var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0];
    s1.async = true;
        s1.src = "https://embed.tawk.to/xxxx";
        s1.charset = "UTF-8";
    s1.setAttribute("crossorigin", "*");
    s0.parentNode.insertBefore(s1, s0);
  })();
</script>
<!--End of Tawk.to Script-->

and core 404/403 pages?

πŸ’¬ Support request
Status

Closed: works as designed

Version

2.0

Component

User interface

Created by

πŸ‡©πŸ‡ͺGermany Rar9

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024