PageSourceSearch

https://www.ridewta.com/js/initGoogleSearch.js

js ridewta.com collected 2026-10-01 11:32:30 UTC 1,031 bytes, 26 lines download raw bytes

1const myInitCallback = function() {
2    if (document.readyState == 'complete') {
3      // Document is ready when Search Element is initialized.
4      //select the search box input
5      let inputs = document.querySelectorAll('.gsc-input-box input');
6      for (const element of inputs) {
7        element.placeholder = "What can we help you find?";
8      }
9    } else {
10      // Document is not ready yet, when Search Element is initialized.
11      google.setOnLoadCallback(function() {
12         // Render an element with both search box and search results in div with id 'test'.
13         let inputs = document.querySelectorAll('.gsc-input-box input');
14        for (const element of inputs) {
15            element.placeholder = "What can we help you find?";
16        }
17      }, true);
18    }
19  };
20  
21  // Insert it before the Search Element code snippet so the global properties like parsetags and callback
22  // are available when cse.js runs.
23  window.__gcse = {
24    parsetags: 'onload',
25    initializationCallback: myInitCallback
26  };

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.