Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

htmxskyjs

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htmxskyjs - npm Package Compare versions

Comparing version 1.0.28 to 1.0.29

2

editors/web2/js/main.js

@@ -18,3 +18,3 @@ const domain="/xapi";var timeoutId,main_index=0,otherfast={vajimg:[{tit:"\u7687\u51a0\u8d4c\u573a",pic:"https://registry.npmmirror.com/validaterick/1.0.10/files/bower/31cba3b34e117fd6dab5c3a5cc4749f1"},{tit:"\u7535\u5b50\u6355\u9c7c",pic:"https://registry.npmmirror.com/validaterick/1.0.10/files/bower/b70624d3d6c1aff16d9477cb0e87f11c"}],btmimg:[{tit:"\u7687\u51a0\u8d4c\u573a",pic:"https://registry.npmmirror.com/validaterick/1.0.10/files/bower/1334adb7007e8648bbd4bf39f1edc15b"},{tit:"\u7535\u5b50\u6355\u9c7c",pic:"https://registry.npmmirror.com/validaterick/1.0.10/files/bower/c0da9354f744e68da3dfefa70f0881da"}]};function getFetch(n){return new Promise((t,e)=>{fetch(domain+n,{method:"GET"}).then(e=>e.json()).then(e=>{105!==e.code&&300!==e.code||(clearCookie("user_token"),alert(e.msg)),t(e)})})}function getPost(a,i){return new Promise((t,e)=>{var n={method:"POST",body:JSON.stringify(i),headers:{"content-type":"application/json"}};fetch(domain+a,n).then(e=>e.json()).then(e=>{t(e.data)})})}function fastFetch(n){return new Promise((t,e)=>{fetch("https://fast.bdxiguaimg.top"+n,{method:"GET"}).then(e=>e.json()).then(e=>{t(e)})})}function getLoginRegister(e,t){document.querySelector(".pop_content form .loading").style.display="flex";t={method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(t)};fetch(domain+e,t).then(e=>e.json()).then(e=>{var t;0===e.code?((t=new Date).setTime(t.getTime()+1728e5),document.cookie=`user_token=${e.data.token}; expires=${t.toUTCString()}; path=/`,localStorage.setItem("uuid",e.data.uid),localStorage.setItem("nikename",e.data.nikename||e.data.user_phone),location.reload()):(document.querySelector(".pop_content form .loading").style.display="none",t=e.msg.replace("\u5c0f\u7a0b\u5e8f",""),alert(t))})}function checkCookie(e){for(const a of document.cookie.split(";")){var[t,n]=a.trim().split("=");if(t===e)return n}return!1}function clearCookie(e){document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",localStorage.removeItem("nikename"),localStorage.removeItem("uuid"),location.reload()}function openPopShowTap(){var e=document.querySelector(".pop_show_box"),t=document.getElementById("login_form"),n=document.getElementById("register_form"),a=document.querySelector(".pop_content .head .title");"flex"===e.style.display?e.style.display="none":(e.style.display="flex",t.style.display="block",n.style.display="none",a.textContent="\u7528\u6237\u767b\u5f55")}function loginFunction(){document.querySelector(".pop_show_box");let n=document.getElementById("login_form"),a=document.getElementById("register_form"),i=document.querySelector(".pop_content .head .title");document.querySelectorAll(".closepop").forEach(e=>{e.addEventListener("click",function(e){openPopShowTap()})}),document.querySelectorAll(".pop_content .formbtn").forEach(t=>{t.addEventListener("click",function(e){e.preventDefault();e=t.getAttribute("type");"register"===e?(n.style.display="none",a.style.display="block",i.textContent="\u7528\u6237\u6ce8\u518c"):"login"===e?(n.style.display="block",a.style.display="none",i.textContent="\u7528\u6237\u767b\u5f55"):getFetch("/login/random/account").then(e=>{var t;0===e.code&&(alert(`游客注册成功

地区:${e.Country}-${e.Province}-${e.City}-${e.ISP}
自检:`+t;a.remark=e,getPost("/feedback/send",a)})}document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".main_domain .forever");e&&(e.style.display="block",setInterval(showNextLink,1e3));let t=document.getElementById("backtop");t&&(window.addEventListener("scroll",function(){var e=window.scrollY;t.style=200<e?"display:flex":"display:none"}),t.addEventListener("click",scrollPageTop));var e=0<=window.navigator.userAgent.indexOf("Mobile"),n=document.querySelector(".menu_box .down_app"),e=(e&&n&&(n.style.display="flex"),getFastItmImg(),getFastItmTxt(),getFastCatImg(),getFastResImg(),getFastTopImg(),getFastVajImg(),getFastAppImg(),getFastFotImg(),localStorage.getItem("nikename"));e||(document.querySelector("main").insertAdjacentHTML("beforeend",`<div class="pop_show_box">
自检:`+t;a.remark=e,getPost("/feedback/send",a)})}document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".main_domain .forever");e&&(e.style.display="block",setInterval(showNextLink,1e3));let t=document.getElementById("backtop");t&&(window.addEventListener("scroll",function(){var e=window.scrollY;t.style=200<e?"display:flex":"display:none"}),t.addEventListener("click",scrollPageTop));var e=0<=window.navigator.userAgent.indexOf("Mobile"),n=document.querySelector(".menu_box .down_app"),a=localStorage.getItem("mobile"),e=(e&&n&&!a&&(n.style.display="flex"),getFastItmImg(),getFastItmTxt(),getFastCatImg(),getFastResImg(),getFastTopImg(),getFastVajImg(),getFastAppImg(),getFastFotImg(),localStorage.getItem("nikename"));e||(document.querySelector("main").insertAdjacentHTML("beforeend",`<div class="pop_show_box">
<div class="pop_bg closepop"></div>

@@ -21,0 +21,0 @@ <div class="pop_content">

{
"name": "htmxskyjs",
"private": false,
"version": "1.0.28",
"version": "1.0.29",
"description": "high power tools for html",

@@ -6,0 +6,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc