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ủ
/
Phụ kiện phòng tắm Hafele
Bộ lọc
Hãng sản xuất
Hafele
Bỏ chọn
Xem
kết quả
Loại
Phụ kiện phòng tắm
Thoát sàn
Kệ kính
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ả
Phụ kiện phòng tắm Hafele
-25%
Kệ kính có thanh chắn Hafele 580.34.331
980,300₫
1,307,000₫
-25%
Ưu đãi
-25%
Kệ kính đen 150 Hafele 495.80.244
340,500₫
454,000₫
-25%
Ưu đãi
-25%
Kệ kính đen 300 Hafele 495.80.243
456,800₫
609,000₫
-25%
Ưu đãi
-25%
Kệ kính Fortune Hafele 580.41.430
562,500₫
750,000₫
-25%
Ưu đãi
-25%
Kệ Kính Hafele 495.80.119
1,117,500₫
1,490,000₫
-25%
Ưu đãi
-25%
Kệ kính trắng 150 Hafele 495.80.237
340,500₫
454,000₫
-25%
Ưu đãi
-25%
Kệ kính trắng 300 Hafele 495.80.238
456,825₫
609,100₫
-25%
Ưu đãi
-25%
Kệ vuông Hafele 495.80.013
539,025₫
718,700₫
-25%
Ưu đãi
-25%
Khớp nối gọn iBox Hafele 588.29.948
189,800₫
253,000₫
-25%
Ưu đãi
-25%
Ly đựng dồ dùng phòng tắm Fortune Hafele 580.41.470
425,625₫
567,500₫
-25%
Ưu đãi
-25%
Ly đựng dụng cụ Hafele 495.80.122
592,500₫
790,000₫
-25%
Ưu đãi
-25%
Ly đựng dụng cụ Hafele 495.80.241
147,300₫
196,400₫
-25%
Ưu đãi
-30%
Ly xịt xà phòng Hafele 495.80.240
487,200₫
696,000₫
-30%
Ưu đãi
-25%
Móc đôi Kyoto Hafele 580.57.001
617,100₫
822,800₫
-25%
Ưu đãi
-25%
Móc đôi Kyoto Hafele 580.57.101
841,275₫
1,121,700₫
-25%
Ưu đãi
-25%
Móc đôi Kyoto Hafele 580.57.201
841,275₫
1,121,700₫
-25%
Ưu đãi
-25%
Móc đôi Kyoto Hafele 580.57.301
804,900₫
1,073,200₫
-25%
Ưu đãi
-25%
Thoát sàn 100 mm Hafele 485.61.236
596,475₫
795,300₫
-25%
Ưu đãi
-25%
Thoát sàn 600 mm Hafele 485.61.235
1,443,000₫
1,924,000₫
-25%
Ưu đãi
-25%
Thoát sàn 88 mm Hafele 495.60.803
231,975₫
309,300₫
-25%
Ưu đãi
-25%
Van khóa nước dạng lục giác 2 đường nước Hafele 495.61.252
218,700₫
291,600₫
-25%
Ưu đãi
Van khóa nước dạng vuông 2 đường nước Hafele 495.61.254
321,700₫
Ưu đãi
-25%
Van khóa nước đơn Hafele 495.61.250
160,575₫
214,100₫
-25%
Ưu đãi
1
2
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