Dashboard
PHP:
8.4.22
OS:
Linux
User:
provencez
/
/
home
/
provencez
/
www
/
wp-content
/
plugins
/
wptouch
/
themes
/
foundation
/
modules
/
cloud
📤 Upload
📝 New File
📁 New Folder
Close
Editing: cloud.min.js
function doCloudInit(){var e=navigator.userAgent,o=document.location.href,n=window.location.hostname,i=window.screen.width,t=window.screen.height,r="",c=1;void 0!==window.devicePixelRatio&&(c=window.devicePixelRatio),jQuery.cookie("_bnc_cloud_user")&&(r=jQuery.cookie("_bnc_cloud_user"));var a={user_agent:e,current_page:o,host_name:n,current_user:r,device_width:i,device_height:t,pixel_ratio:c};jQuery.ajax({type:"POST",url:"http://stat2.bravenewcode.com/log.php",data:a,crossDomain:!0,success:function(e){e!=r&&jQuery.cookie("_bnc_cloud_user",e,{expires:1,path:"/"})}})}!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(f){var o=/\+/g;function l(e){if(v.raw)return e;try{return decodeURIComponent(e.replace(o," "))}catch(e){}}function h(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=l(e);try{return v.json?JSON.parse(e):e}catch(e){}}var v=f.cookie=function(e,o,n){if(void 0!==o){if("number"==typeof(n=f.extend({},v.defaults,n)).expires){var i=n.expires,t=n.expires=new Date;t.setDate(t.getDate()+i)}return o=v.json?JSON.stringify(o):String(o),document.cookie=[v.raw?e:encodeURIComponent(e),"=",v.raw?o:encodeURIComponent(o),n.expires?"; expires="+n.expires.toUTCString():"",n.path?"; path="+n.path:"",n.domain?"; domain="+n.domain:"",n.secure?"; secure":""].join("")}for(var r=e?void 0:{},c=document.cookie?document.cookie.split("; "):[],a=0,u=c.length;a<u;a++){var d=c[a].split("="),s=l(d.shift()),p=d.join("=");if(e&&e===s){r=h(p);break}e||void 0===(p=h(p))||(r[s]=p)}return r};v.defaults={},f.removeCookie=function(e,o){return void 0!==f.cookie(e)&&(f.cookie(e,"",f.extend({},o,{expires:-1})),!0)}}),jQuery(document).ready(function(){doCloudInit()});
Save
Cancel