PageSourceSearch

https://www.bot.or.th/etc.clientlibs/bot/components/adaptiveForm/c…-443a1f94642e919f1659845873fcac72-lc.min.js

js bot.or.th collected 2026-10-01 08:42:07 UTC 706 bytes, 17 lines download raw bytes

1// JavaScript code to check if a resource exists
2function checkResourceExistence(resourcePath) {
3    var servletUrl = '/bin/bot/checkFormResourceExist?formResourcePath=' + resourcePath;
4    fetch(servletUrl)
5        .then(response => response.json())
6        .then(data => {
7            if (data.exists) {
8                document.querySelector(".form-container__main").classList.remove('hidden');
9            } else {
10				document.querySelector(".form-container__main").innerHTML='';
11                document.querySelector(".form-not-available-error__container__main").classList.remove('hidden');
12            }
13        })
14        .catch(error => {
15            console.error('Error:', error);
16        });
17}

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.