Update index.html
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="fa" dir="rtl">
|
||||
<head>
|
||||
@@ -141,20 +140,6 @@ const results = document.getElementById("results");
|
||||
const status = document.getElementById("status");
|
||||
|
||||
|
||||
// یکسانسازی حروف و اعداد برای جستوجو
|
||||
function normalize(value) {
|
||||
return String(value ?? "")
|
||||
.trim()
|
||||
.toLowerCase()
|
||||
.replace(/[۰-۹]/g, digit =>
|
||||
"۰۱۲۳۴۵۶۷۸۹".indexOf(digit)
|
||||
)
|
||||
.replace(/[٠-٩]/g, digit =>
|
||||
"٠١٢٣٤٥٦٧٨٩".indexOf(digit)
|
||||
)
|
||||
.replace(/ي/g, "ی")
|
||||
.replace(/ك/g, "ک");
|
||||
}
|
||||
|
||||
|
||||
// خواندن صحیح اطلاعات CSV
|
||||
|
||||
مرجع در شماره جدید
مسدود کردن کاربر