PageSourceSearch

https://www.hy96.com.cn/upload/js/f935db45e66b45a1a9b1b3a46938aef3…&viewType=p&v=1775526838000&siteType=oper

js hy96.com.cn collected 2026-10-06 13:16:03 UTC 3,235 bytes, 84 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function () {
2    //判断是什么语言
3    const Language_Query = {
4        'zh_CN': '询盘邮件',
5        'zh_HN': '詢盤郵件',
6        'en': 'Inquiry email',
7        'de': 'Anfrage-E-Mail',
8        'fr': 'E-mail de demande',
9        'ru': 'Запрос по электронной почте',
10        'pt': 'E-mail de consulta',
11        'ko': '문의 메일',
12        'ja': 'お問い合わせメール',
13        'es': 'Correo electrónico de consulta',
14        'ar': 'البريد الإلكتروني للاستفسار',
15        'it': 'E-mail di richiesta',
16        'bn': 'তদন্ত ইমেল',
17        'da': 'Forespørgselsmail',
18        'idn': 'Email pertanyaan',
19        'th': 'อีเมลสอบถาม',
20        'vi': 'Email yêu cầu',
21        'tr': 'Soruşturma e-postası',
22        'nl': 'E-mail voor aanvraag',
23        'pl': 'Zapytanie e-mailowe',
24        'cs': 'Email s dotazem',
25        'ee': 'Päringu email',
26        'fi': 'Tiedustelu sähköposti',
27        'el': 'Επικοινωνία email',
28        'hu': 'Érdeklődő email',
29        'gg': 'Имейл за запитване',
30        'hr': 'E-pošta za upit',
31        'ga': 'Ríomhphost fiosrúcháin',
32        'ro': 'E-mail de întrebare',
33        'lv': 'Uzziņas e-pasts',
34        'mt': 'Email tal-Inkjesta',
35        'sk': 'E-mail s dopytom',
36        'si': 'E-pošta za povpraševanje',
37        'sv': 'Förfrågningsmail',
38        'lt': 'Užklausos el',
39        'ml': 'E-mel pertanyaan',
40        'bur': 'စုံစမ်းမေးမြန်းရန်အီးမေးလ်',
41        'kh': 'អ៊ីមែលសាកសួរ',
42        'la': 'ສອບຖາມອີເມລ໌',
43        'ph': 'Email ng pagtatanong',
44        'fa': 'ایمیل استعلام',
45        'uk': 'Електронна пошта для запиту',
46        'ta': 'விசாரணை மின்னஞ்சல்',
47        'mn': 'Лавлагааны имэйл',
48        'kk': 'Сұрау электрондық поштасы'
49
50    };
51
52    //循环A链接
53    const A_tag = document.querySelectorAll('a');
54    let language = window.tenant.language;
55    if (!language) {
56        language = 'en';
57    }
58    const inquirySubjectText = Language_Query[language] || Language_Query['en'];
59
60    // 获取当前页面域名并赋值给currentDomain
61    const currentDomain = window.location.hostname;
62
63    A_tag.forEach((link) => {
64        const href = link.href;
65        //拼接邮件主题内容,判断逻辑,避免重复添加subject
66        if (inquirySubjectText && href.includes('mailto:')) {
67            const existingSubjectIndex = href.indexOf('?subject=');
68            if (existingSubjectIndex === -1) {
69                link.href = href + '?subject=' + inquirySubjectText;
70            }
71            link.rel = 'nofollow';
72        }
73
74        if (href.indexOf('javascript')!== -1) {
75            return;
76        }
77
78        const isExternalLink =!href.includes(currentDomain);
79        if (isExternalLink) {
80            link.target = '_blank';
81            link.rel = 'nofollow';
82        }
83    });
84});

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.