PageSourceSearch

https://sds.com/static/script/ie-check.js

js sds.com collected 2026-10-02 06:28:39 UTC 3,498 bytes, 46 lines download raw bytes

1(function() {
2  let lang = navigator.language.toLowerCase()
3  let langValue = ''
4  const langForCheck = ['en-in', 'es-es', 'es-mx', 'pt-br', 'zh-cn', 'zh-tw']
5  for (let i = 0; i < langForCheck.length; i++) {
6    if (langForCheck[i] === lang) {
7      langValue = langForCheck[i]
8      break;
9    }
10  }
11  if (langValue) {
12    lang = langValue
13  } else {
14    lang = lang.substr(0, 2)
15  }
16  
17  const alertMsgs = {
18    "ar": "قم بالتبديل إلى Microsoft Edge لتجربة الويب بطريقة جديدة تماماً. يعمل موقع الويب هذا بشكل أفضل في Microsoft Edge",
19    "en-in": "This website works better in Microsoft Edge. Make the switch to Microsoft Edge to experience the web in a whole new way.",
20    "de": "Diese Website funktioniert in Microsoft Edge besser. Wechseln Sie zu Microsoft Edge, um das Web auf eine ganz neue Art und Weise zu erleben.",
21    "es-es": "Este sitio web funciona mejor en Microsoft Edge. Cambia a Microsoft Edge para experimentar la web de una manera totalmente nueva.",
22    "es-mx": "Este sitio web funciona mejor en Microsoft Edge. Cambia a Microsoft Edge para experimentar la web de una manera totalmente nueva.",
23    "fr": "Ce site web fonctionne mieux dans Microsoft Edge. Passez à Microsoft Edge pour découvrir le web d'une toute nouvelle façon.",
24    "id": "Situs web ini berfungsi lebih baik di Microsoft Edge. Beralih ke Microsoft Edge untuk menggunakan web dengan cara yang benar-benar baru.",
25    "ja": "この Web サイトが Microsoft Edge よりも適切に機能します。Microsoft Edge に切り替えると、まったく新しいやり方で Web を体験できます。",
26    "ko": "이 웹 사이트는 Microsoft Edge에서 더 잘 작동합니다. 원활한 웹 사이트 사용을 위해 Microsoft Edge로 이동됩니다.",
27    "ms": "Laman web ini berfungsi lebih baik di Microsoft Edge. Beralih ke Microsoft Edge untuk mengalami web dengan cara yang sama sekali baru.",
28    "pt-br": "Este site funciona melhor no Microsoft Edge. Mude para o Microsoft Edge e experimente a Web de uma maneira totalmente nova.",
29    "ru": "Этот веб-сайт будет лучше работать в Microsoft Edge. Переход на Microsoft Edge позволит совершенно по-новому пользоваться Интернетом.",
30    "th": "เว็บไซต์นี้ทำงานได้ดีขึ้นใน Microsoft Edge เปลี่ยนไปใช้ Microsoft Edge เพื่อสัมผัสประสบการณ์การใช้งานเว็บโฉมใหม่",
31    "tr": "Bu web sitesi Microsoft Edge'de daha iyi çalışır. Web'i yepyeni bir şekilde deneyimlemek için Microsoft Edge'e geçiş yapın.",
32    "zh-cn": "此网站在 Microsoft Edge 中更好地工作。转换到 Microsoft Edge 以全新方式体验 Web。",
33    "zh-tw": "此網站在 Microsoft Edge 中的運作效能更好。切換至 Microsoft Edge,以全新的方式體驗網路。",
34  }
35  
36  let alertMsg = alertMsgs[lang]
37  if (!alertMsg)  {
38    alertMsg = 'This website works better in Microsoft Edge. Make the switch to Microsoft Edge to experience the web in a whole new way.'
39  }
40  
41  const userAgent = navigator.userAgent.toLowerCase()
42  if (userAgent.indexOf('msie') !== -1 || userAgent.indexOf('Trident') !== -1 || userAgent.indexOf('rv:11.0') !== -1) {
43    alert(alertMsg)
44    window.location = 'microsoft-edge:' + window.location.href
45  }
46})()

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.