jeantonickgmail.com / kyc-ukash-buton

// ==UserScript==
// @name        kyc-ukash-buton
// @namespace   BO
// @include     https://papaasnoak.ble.local:5104/bets10.com/User/UsersPaymentOptionGroups.aspx*
// @grant       none
// @version     1.2
// @updateURL   https://openuserjs.org/meta/jeantonickgmail.com/kyc-ukash-buton.meta.js
// ==/UserScript==

window.onload = calistir();


function calistir(){

//var testss = document.getElementById("ctl00_MainContentPlaceHolder_UpdatePanel");
//var testss = document.getElementById("ctl00_MainContentPlaceHolder_PaymentOptionGroupGrid");

var spans = document.getElementsByTagName('span');
var lenx = spans.length;
//alert(spans[628].innerHTML);
//var xx = testss.innerHTML;
var xxx = spans[620].innerHTML;
//alert(spans[619].innerHTML);
spans[lenx-11].innerHTML = '<button id="KYC" type="button"> KYC </button> <button id="UKASH" type="button"> UKASH </button> <button id="SAVE2" type="button"> SAVE </button> <button id="WDKAPA" type="button"> WD-KAPAT </button> </br><button id="SUSP" type="button"> SUSPICIOUS TAG </button>';

//testss.innerHTML = '<button id="KYC" type="button"> KYCTST </button> <button id="UKASH" type="button"> UKASH </button> <button id="SAVE2" type="button"> SAVE </button>' + xx;

var KYC = document.getElementById("KYC");
var UKASH = document.getElementById("UKASH");
var SAVE2 = document.getElementById("SAVE2");
var WDKAPA = document.getElementById("WDKAPA");
var Susp = document.getElementById("SUSP");

KYC.addEventListener ("click", ButtonClickAction1, false);
UKASH.addEventListener ("click", ButtonClickAction2, false);
SAVE2.addEventListener ("click", ButtonClickAction3, false);
WDKAPA.addEventListener ("click", ButtonClickAction4, false);
Susp.addEventListener ("click", ButtonClickAction5, false);


}

function ButtonClickAction1 () {



var SAVEBUTON = document.getElementById("ctl00_MainContentPlaceHolder_SavePaymentOptionGroupsForUser");

var ExcWD = document.getElementById("ctl00_MainContentPlaceHolder_PaymentOptionGroupGrid_ctl74_AddPaymentOptionGroupToUser");
var DepVPS = document.getElementById("ctl00_MainContentPlaceHolder_PaymentOptionGroupGrid_ctl103_AddPaymentOptionGroupToUser");
var MobileExcWD = document.getElementById("ctl00_MainContentPlaceHolder_PaymentOptionGroupGrid_ctl177_AddPaymentOptionGroupToUser");

ExcWD.checked = false;
DepVPS.checked = "checked";
MobileExcWD.checked = false;

SAVEBUTON.click();

}


function ButtonClickAction2 () {

//UKASH
var SAVEBUTON = document.getElementById("ctl00_MainContentPlaceHolder_SavePaymentOptionGroupsForUser");

var Entropay = document.getElementById("ctl00_MainContentPlaceHolder_PaymentOptionGroupGrid_ctl31_AddPaymentOptionGroupToUser");
var Risky = document.getElementById("ctl00_MainContentPlaceHolder_PaymentOptionGroupGrid_ctl108_AddPaymentOptionGroupToUser");
var MobileRisky = document.getElementById("ctl00_MainContentPlaceHolder_PaymentOptionGroupGrid_ctl176_AddPaymentOptionGroupToUser");
var DepVPS = document.getElementById("ctl00_MainContentPlaceHolder_PaymentOptionGroupGrid_ctl103_AddPaymentOptionGroupToUser");

Entropay.checked = "checked";
Risky.checked = "checked";
MobileRisky.checked = "checked";
DepVPS.checked = false;

SAVEBUTON.click();

}

function ButtonClickAction3 () {



var SAVEBUTON = document.getElementById("ctl00_MainContentPlaceHolder_SavePaymentOptionGroupsForUser");

SAVEBUTON.click();

}

function ButtonClickAction4 () {


var SAVEBUTON = document.getElementById("ctl00_MainContentPlaceHolder_SavePaymentOptionGroupsForUser");

var ExcWD = document.getElementById("ctl00_MainContentPlaceHolder_PaymentOptionGroupGrid_ctl74_AddPaymentOptionGroupToUser");
var DepVPS = document.getElementById("ctl00_MainContentPlaceHolder_PaymentOptionGroupGrid_ctl103_AddPaymentOptionGroupToUser");
var MobileExcWD = document.getElementById("ctl00_MainContentPlaceHolder_PaymentOptionGroupGrid_ctl177_AddPaymentOptionGroupToUser");

ExcWD.checked = "checked";
DepVPS.checked = false;
MobileExcWD.checked = "checked";

SAVEBUTON.click();

}

function ButtonClickAction5 () {


window.open("https://papaasnoak.ble.local:5104/Configuration/bets10.com/CustomerTagBind");

}