if (perfEntries[0].type === "back_forward") {
location.reload(true);
}
function HandlePopupResult(result) {
window.location = "https://digitalbutcher.co";
}
function moOpenIdLogin(app_name,is_custom_app) {
var current_url = window.location.href;
var cookie_name = "redirect_current_url";
var d = new Date();
d.setTime(d.getTime() + (2 * 24 * 60 * 60 * 1000));
var expires = "expires="+d.toUTCString();
document.cookie = cookie_name + "=" + current_url + ";" + expires + ";path=/";
var base_url = 'https://digitalbutcher.co';
var request_uri = '/my-account/';
var http = 'https://';
var http_host = 'digitalbutcher.co';
var default_nonce = '1888051a3f';
var custom_nonce = 'bd98433c86';
if(is_custom_app == 'false'){
if ( request_uri.indexOf('wp-login.php') !=-1){
var redirect_url = base_url + '/?option=getmosociallogin&wp_nonce=' + default_nonce + '&app_name=';
}else {
var redirect_url = http + http_host + request_uri;
if(redirect_url.indexOf('?') != -1){
redirect_url = redirect_url +'&option=getmosociallogin&wp_nonce=' + default_nonce + '&app_name=';
}
else
{
redirect_url = redirect_url +'?option=getmosociallogin&wp_nonce=' + default_nonce + '&app_name=';
}
}
}
else {
if ( request_uri.indexOf('wp-login.php') !=-1){
var redirect_url = base_url + '/?option=oauthredirect&wp_nonce=' + custom_nonce + '&app_name=';
}else {
var redirect_url = http + http_host + request_uri;
if(redirect_url.indexOf('?') != -1)
redirect_url = redirect_url +'&option=oauthredirect&wp_nonce=' + custom_nonce + '&app_name=';
else
redirect_url = redirect_url +'?option=oauthredirect&wp_nonce=' + custom_nonce + '&app_name=';
}
}
window.location.href = redirect_url + app_name;
}
Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our privacy policy.