self.onmessage = function(e) { let result = Bigpensearch(e.data[0],e.data[1] ) self.postMessage([result]); } function FriendLyURL(str) { str = str.toLowerCase().replace(/×/g,'x'); // xóa dấu str = str .normalize('NFD') // chuyển chuỗi sang unicode tổ hợp .replace(/[\u0300-\u036f]/g, ''); // xóa các ký tự dấu sau khi tách tổ hợp // Thay ký tự đĐ str = str.replace(/[đĐ]/g, 'd'); // Xóa ký tự đặc biệt str = str.replace(/([^0-9a-z-\s])/g, '\-'); // Xóa khoảng trắng thay bằng ký tự - str = str.replace(/(\s+)/g, '\-'); // Xóa ký tự - liên tiếp str = str.replace(/-+/g, '\-'); // xóa phần dư - ở đầu & cuối str = str.replace(/^-+|-+$/g, ''); // return return str; } let randommurl=""; const now = new Date(); const day = String(now.getDate()).padStart(2, '0'); // Day of the month (1-31) const month = String(now.getMonth() + 1).padStart(2, '0'); // Month (0-11, so add 1) const year = now.getFullYear(); // Full year (e.g., 2024) const hours = String(now.getHours()).padStart(2, '0'); // Hours (0-23) const minutes = String(now.getMinutes()).padStart(2, '0'); // Minutes (0-59) const seconds = String(now.getSeconds()).padStart(2, '0'); // Seconds (0-59) randommurl =`${day}${month}${year}${hours}`; var getcdnsearch = function(filename){ var url="https://theme.hstatic.net/1000233137/1001096610/14/"; return url+filename+"?v="+randommurl; } const url = FriendLyURL('https://khanhvyhome.com').split('-').join(''); const scriptUrl = getcdnsearch(`${url}-bigpensearch.js`); function matchPeople(input) { if (!input.length) { return []; } input = FriendLyURL(input); const regs = input.split('-'); return searchkeyobj.filter(person => { return person.split('#')[0].includes(input); }); } function Bigpensearch(val,shopid) { console.log('trigger bigpensearch'); if(typeof(searchkeyobj)=='undefined' || searchkeyobj === null) { importScripts(scriptUrl); } var autoCompleteResult = matchPeople(val); let htmlresult="" for (let i = 0, limit = 20, len = autoCompleteResult.length; i < len && i < limit; i++) { let autoCompleteResultitem=autoCompleteResult[i].split('#')[0] htmlresult+=`
${searchdataobj[autoCompleteResultitem].title}
`; } return htmlresult; }
Gọi mua hàng
1800646410
Hệ thống
cửa hàng
Khuyến
mãi
Trung tâm
sửa chữa
Giỏ hàng
0
Danh mục sản phẩm
Trang chủ
/
Bồn tiểu nam Toto
Bộ lọc
Hãng sản xuất
Toto
Bỏ chọn
Xem
kết quả
Loại
Bồn tiểu nam
Bỏ chọn
Xem
kết quả
Mức giá
Dưới 2 triệu
Từ 2 - 4 triệu
Từ 4 - 7 triệu
Từ 7 - 13 triệu
Từ 13 - 20 triệu
Trên 20 triệu
Bỏ chọn
Xem
kết quả
Sắp xếp theo
Giá thấp đến cao
Giá cao đến thấp
Bỏ chọn
Xem
kết quả
Bồn tiểu nam Toto
-21%
Bồn tiểu nam TOTO USWN900A/HHF90603 treo tường
25,497,200₫
31,872,000₫
-21%
Ưu đãi
-20%
Bồn tiểu nam TOTO USWN900AE/HHF90603 treo tường
24,287,200₫
30,352,000₫
-20%
Ưu đãi
-20%
Bồn tiểu nam TOTO USWN900AS/HHF90603 treo tường
32,570,200₫
40,712,000₫
-20%
Ưu đãi
-21%
Bồn tiểu nam TOTO USWN902AEV treo tường
24,277,000₫
30,350,000₫
-21%
Ưu đãi
-21%
Bồn tiểu nam TOTO USWN902ASV treo tường
32,571,000₫
40,720,000₫
-21%
Ưu đãi
Bồn tiểu nam TOTO UT445 treo tường
3,650,000₫
Ưu đãi
-19%
Bồn tiểu nam TOTO UT445H treo tường
3,445,200₫
4,202,000₫
-19%
Ưu đãi
-19%
Bồn tiểu nam TOTO UT447HR treo tường
4,363,200₫
5,321,000₫
-19%
Ưu đãi
Bồn tiểu nam TOTO UT447S treo tường
3,830,000₫
Ưu đãi
-18%
Bồn tiểu nam TOTO UT500T treo tường
8,337,600₫
10,162,000₫
-18%
Ưu đãi
-19%
Bồn tiểu nam TOTO UT508T treo tường
5,151,600₫
6,284,000₫
-19%
Ưu đãi
-19%
Bồn tiểu nam TOTO UT557T treo tường
4,395,600₫
5,361,000₫
-19%
Ưu đãi
-19%
Bồn tiểu nam TOTO UT560T treo tường
4,395,600₫
5,361,000₫
-19%
Ưu đãi
-19%
Bồn tiểu nam TOTO UT570T treo tường
5,151,600₫
6,284,000₫
-19%
Ưu đãi
-19%
Bồn tiểu nam TOTO UT57S treo tường
2,019,600₫
2,464,000₫
-19%
Ưu đãi
-19%
Bồn tiểu nam TOTO UT904HN treo tường
5,248,800₫
6,401,000₫
-19%
Ưu đãi
-18%
Bồn tiểu nam TOTO UT904HR treo tường
4,438,800₫
5,410,000₫
-18%
Ưu đãi
-18%
Bồn tiểu nam TOTO UT904N#XW treo tường
3,963,600₫
4,831,000₫
-18%
Ưu đãi
-19%
Bồn tiểu nam TOTO UT904RW treo tường
3,499,200₫
4,271,000₫
-19%
Ưu đãi
SẢN PHẨM ĐÃ XEM
Chính sách linh hoạt
7 ngày đổi trả dễ dàng
Vận chuyển siêu tốc
Giao trong ngày
Thanh toán thuận lợi
Nhận hàng và thanh toán
Cam kết chất lượng
Sản phẩm chính hãng
Giỏ hàng của bạn có
sản phẩm
Tổng tiền thanh toán:
Tiếp tục mua hàng
Thực hiện thanh toán
Chat với chúng tôi qua zalo
Chat với chúng tôi qua zalo
So sánh
(0)
Thu gọn
So sánh ngay
Xóa tất cả sản phẩm
self.onmessage = function(e) { let result = Bigpensearch2(e.data[0],e.data[1] ) self.postMessage([result]); } function FriendLyURL(str) { str = str.toLowerCase().replace(/×/g,'x'); // xóa dấu str = str .normalize('NFD') // chuyển chuỗi sang unicode tổ hợp .replace(/[\u0300-\u036f]/g, ''); // xóa các ký tự dấu sau khi tách tổ hợp // Thay ký tự đĐ str = str.replace(/[đĐ]/g, 'd'); // Xóa ký tự đặc biệt str = str.replace(/([^0-9a-z-\s])/g, '\-'); // Xóa khoảng trắng thay bằng ký tự - str = str.replace(/(\s+)/g, '\-'); // Xóa ký tự - liên tiếp str = str.replace(/-+/g, '\-'); // xóa phần dư - ở đầu & cuối str = str.replace(/^-+|-+$/g, ''); // return return str; } let randommurl2=""; const now = new Date(); const day = String(now.getDate()).padStart(2, '0'); // Day of the month (1-31) const month = String(now.getMonth() + 1).padStart(2, '0'); // Month (0-11, so add 1) const year = now.getFullYear(); // Full year (e.g., 2024) const hours = String(now.getHours()).padStart(2, '0'); // Hours (0-23) const minutes = String(now.getMinutes()).padStart(2, '0'); // Minutes (0-59) const seconds = String(now.getSeconds()).padStart(2, '0'); // Seconds (0-59) randommurl2 =`${day}${month}${year}${hours}`; var getcdnsearch = function(filename){ var url="https://theme.hstatic.net/1000233137/1001096610/14/"; return url+filename+"?v="+randommurl2; } const url = FriendLyURL('https://khanhvyhome.com').split('-').join(''); const scriptUrl = getcdnsearch(`${url}-bigpensearch.js`); function matchPeople(input) { if (!input.length) { return []; } input = FriendLyURL(input); const regs = input.split('-'); return searchkeyobj.filter(person => { return person.split('#')[0].includes(input); }); } function Bigpensearch2(val,shopid) { if(typeof(searchkeyobj)=='undefined' || searchkeyobj === null) { importScripts(scriptUrl); } var autoCompleteResult = matchPeople(val); let htmlresult="" for (let i = 0, limit = 20, len = autoCompleteResult.length; i < len && i < limit; i++) { let autoCompleteResultitem=autoCompleteResult[i].split('#')[0] htmlresult+=`
${searchdataobj[autoCompleteResultitem].title}
`; } return htmlresult; }
So sánh sản phẩm
×
Đóng
Đóng