PageSourceSearch

https://doctor-property.co.th/wp-content/cache/wpfc-minified/lks2rz2m/2klec.js

js doctor-property.co.th collected 2026-10-05 05:32:08 UTC 1,104 bytes, 33 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function (){
2document.drproperty_switching_sorting=false;
3var sorting=drproperty_getCookie('drproperty-selected-sorting');
4var sorters=document.getElementsByClassName('drproperty-sort-by');
5for (let i=0; i < sorters.length; i++){
6sorters[i].addEventListener("change", drpoperty_sorting_changed);
7if(sorting){
8sorters[i].value=sorting;
9}}
10function drpoperty_sorting_changed(){
11if(window.drproperty_switching_sorting){
12return;
13}
14document.drproperty_switching_sorting=true;
15for (var i=0; i < sorters.length; i++){
16if(sorters[i]!==this){
17sorters[i].value=this.value;
18}}
19if('featured-desc'===this.value){
20drproperty_setCookie('drproperty-selected-sorting', this.value, -1);
21}else{
22drproperty_setCookie('drproperty-selected-sorting', this.value);
23}
24location.reload();
25document.drproperty_switching_sorting=false;
26}
27let resets=document.querySelectorAll('.drproperty-reset, .site-logo');
28for (let i=0; i < resets.length; i++){
29resets[i].addEventListener("click", function (){
30drproperty_setCookie('drproperty-selected-sorting', this.value, -1);
31return true;
32});
33}});

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.