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ủ
/
Tay nắm tủ Hafele
Bộ lọc
Hãng sản xuất
Hafele
Bỏ chọn
Xem
kết quả
Loại
Tay nắm tủ
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ả
Tay nắm tủ Hafele
-25%
Tay nắm tủ bếp Hafele 126.27.803
1,127,300₫
1,503,000₫
-25%
Ưu đãi
-25%
Tay nắm tủ bếp Hafele 126.27.905
1,205,000₫
1,606,000₫
-25%
Ưu đãi
-25%
Tay nắm tủ bếp Hafele 126.27.907
874,500₫
1,166,000₫
-25%
Ưu đãi
-25%
Tay nắm tủ dạng thanh ngang Hafele 126.37.911
508,500₫
678,000₫
-25%
Ưu đãi
-26%
Tay nắm tủ Hafele, màu bạc 128x148mm 100.90.932
70,100₫
93,500₫
-26%
Ưu đãi
-25%
Tay nắm tủ Hafele, màu bạc 128x143mm 110.73.932
98,200₫
130,900₫
-25%
Ưu đãi
-25%
Tay nắm tủ Hafele, màu bạc 116x24mm 109.49.907
47,900₫
63,800₫
-25%
Ưu đãi
Tay nắm đen mờ 46x31mm Hafele 106.70.120
95,700₫
Ưu đãi
Tay nắm đen mờ 174x31mm CC 128MM Hafele 106.70.101
253,000₫
Ưu đãi
Tay nắm tủ Hafele 106.70.106
286,000₫
Ưu đãi
-25%
Tay nắm tủ Hafele 106.69.321
132,000₫
176,000₫
-25%
Ưu đãi
-25%
Tay nắm tủ Hafele 106.69.191
346,500₫
462,000₫
-25%
Ưu đãi
Tay nắm tủ Hafele 106.69.152
63,800₫
Ưu đãi
-25%
Tay nắm tủ Hafele 106.69.151
38,800₫
51,700₫
-25%
Ưu đãi
Tay nắm tủ Hafele 106.69.150
66,000₫
Ưu đãi
Tay nắm tủ Hafele 106.69.101
253,000₫
Ưu đãi
Tay nắm tủ Hafele 106.69.100
176,000₫
Ưu đãi
Tay nắm tủ Hafele 106.69.073
110,000₫
Ưu đãi
Tay nắm tủ Hafele 106.69.072
110,000₫
Ưu đãi
Tay nắm tủ Hafele 106.69.070
110,000₫
Ưu đãi
-25%
Tay nắm tủ Hafele 106.69.032
99,000₫
132,000₫
-25%
Ưu đãi
Tay nắm tủ Hafele 106.69.031
187,000₫
Ưu đãi
Tay nắm tủ Hafele 101.69.511
341,000₫
Ưu đãi
Tay nắm tủ Hafele 101.69.509
297,000₫
Ưu đãi
Tay nắm tủ Hafele 101.69.508
297,000₫
Ưu đãi
Tay nắm tủ Hafele 101.69.507
297,000₫
Ưu đãi
Tay nắm tủ Hafele 101.69.506
297,000₫
Ưu đãi
Tay nắm tủ Hafele 101.69.505
418,000₫
Ưu đãi
8
9
10
11
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