PageSourceSearch

https://snappyit.ai/embed/loader.js

js snappyit.ai collected 2026-10-01 12:11:22 UTC 1,888 bytes, 34 lines download raw bytes

1(function () {
2  var s = document.currentScript
3  var base = s && s.src ? s.src.replace(/[^/]*$/, '') : '/embed/'
4  window.__SNAPPYIT_SITE_ELEMENTS_I18N__ = { base: base, files: {"en":"assets/site-elements-en-DOKXWOkJ.json","es":"assets/site-elements-es-Y1xmccYM.json","fr":"assets/site-elements-fr-DHO6k7q1.json","de":"assets/site-elements-de-BSPLJ-81.json","it":"assets/site-elements-it-vMsZcAj4.json","pt":"assets/site-elements-pt-DpD5MFMQ.json","ja":"assets/site-elements-ja-DKG9nBPT.json","ko":"assets/site-elements-ko-C4kgJcHu.json"} }
5
6  // 占位样式必须在 body 解析到 <site-header>/<site-footer> 之前生效,
7  // 所以由同步执行的 loader 直接 prepend 到 head 顶部。
8  var placeholder = document.createElement("style")
9  placeholder.setAttribute("data-site-elements", "placeholder")
10  placeholder.textContent =
11    "body{margin:0}"+
12    "site-header{display:block;background:transparent;position:sticky;top:0;z-index:10002}"+
13    "site-footer{display:block;background:#fff}"+
14    "@media screen and (max-width:768px){body.site-elements-login-modal-open{overflow:hidden}}"+
15    "site-header:not(:defined){min-height:64px}"+
16    "site-footer:not(:defined){min-height:320px}"+
17    "site-header:not(:defined) > *,site-footer:not(:defined) > *{display:none}"
18  document.head.insertBefore(placeholder, document.head.firstChild)
19
20  var fontLink = document.createElement("link")
21  fontLink.rel = "stylesheet"
22  fontLink.href = "https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap"
23  document.head.appendChild(fontLink)
24
25  var link = document.createElement("link")
26  link.rel = "stylesheet"
27  link.href = base + "site-elements-C4kujRO6.css"
28  document.head.appendChild(link)
29
30  var script = document.createElement("script")
31  script.src = base + "site-elements-H9q9uUXc.js"
32  script.defer = true
33  document.head.appendChild(script)
34})()

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.