ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/www/vijay-gases/assets/dist/js/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/www/vijay-gases/assets/dist/js/spos_ad.min.js

var Ad=function(){function t(t,i,e,n){this.title=t,this.link=i,this.text=e,this.image=n,this.el=document.createElement("div"),this.el.setAttribute("id","sliding-ad"),this.el.setAttribute("style","background:#FFF;width:300px;display:inline-block;border:1px solid #ccc;border-radius:3px;padding:8px 10px;position:fixed;bottom:50px;right:-500px;transition:all 1s ease-in-out;z-index:5555;"),this.el.innerHTML="\n            <span style=\"position:relative;display:block;\">\n                <span onclick=\"sessionStorage.setItem('hide_sliding_ad', '1');document.getElementById('sliding-ad').style.display='none';\" style=\"cursor:pointer;position:absolute;top:-2px;right:0;text-decoration:none;\">&times;</span>\n                <a href=\""+i+'" style="color:#777;text-decoration:none;">\n                    '+(n?'<span style="float:left;display:inline-block;width:80px;margin-right:15px;"><img src="'+n+'" alt="'+n+'" style="width:100%;"></span>':"")+'\n                    <h2 style="font-size:18px;font-weight:bold;margin:0;padding:0 0 5px 0;">'+t+"</h2>\n                    "+(e?'<span style="font-size:12px;">'+e+"</span>":"")+"\n                </a>\n            </span>\n        "}return t.prototype.insert=function(){document.body.appendChild(this.el)},t.prototype.show=function(){this.el.style.right="20px"},t.prototype.hide=function(){this.el.style.right="-500px"},t}();!function(){var t=new Ad("SimplePOS<br><small style='font-weight:bold;font-size:12px;'>(Windows Installer)</small>","https://tecdiary.com/products/simplepos-windows-installer","Easy installation for offline use. Print, Backup & Customer Display.","https://tecdiary.net/images/hotlink-ok/SimplePOS.png");sessionStorage.getItem("hide_sliding_ad")||t.insert(),window.addEventListener("scroll",function(i){window.scrollY>10?t.show():t.hide()})}();

Zerion Mini Shell 1.0