PageSourceSearch

https://tmglobal.com.my/themes/custom/Tm/lib/cookies-section.js?tljml2

js tmglobal.com.my collected 2026-10-04 10:41:21 UTC 1,435 bytes, 28 lines download raw bytes

1
2jQuery(document).ready(function ($) {
3
4  let cookiesBlock = document.getElementById("block-cookiesui");
5  setTimeout(() => {
6    let cookiesTextArea = cookiesBlock.getElementsByClassName("cookiesjsr-banner--text");
7    if (cookiesTextArea.length > 0) {
8      let cookiesText = cookiesTextArea[0].innerHTML;
9      console.log(cookiesText);
10      cookiesText = cookiesText.replace(
11        'We use cookies to offer you a better experience, analyse site traffic, and serve targeted advertisements.',
12        '<span>We use cookies to offer you a better experience, analyse site traffic, and serve targeted advertisements.</span>'
13      );
14      cookiesText = cookiesText.replace(
15        'By continuing to use this website, you consent to the use of cookies in accordance with our Privacy Notice and Terms &amp; Conditions',
16        '<span>By continuing to use this website, you consent to the use of cookies in accordance with our <a style="color:white;" href="https://www.tm.com.my/Pages/TM%20Privacy%20Notice%202021.pdf" target="_blank">Privacy Notice</a> and <a style="color:white;" href="https://www.tm.com.my/Documents/TM%20Website%20Use%202013.pdf" target="_blank">Terms &amp; Conditions</a></span>'
17      );
18      
19      console.log(cookiesText);
20
21      cookiesTextArea[0].innerHTML = cookiesText;
22
23
24      document.getElementById("block-cookiesui").getElementsByClassName("cookiesjsr-settings")[0].remove();
25    }
26  }, 300);
27});
28

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.