1. Install sessionbox extensions on Chrome
2. Copy this code
var i = 0;
setInterval(function() {
$.getJSON('http://www.lazada.com.my/ajax/lottery/spinTheWheel/?lang=en&platform=desktop&wheelToken=2566d34226c6835fc7ebeebe8d2fc7a4&dpr=1', function(data){
i++
if(data != undefined) {
if(data.data.voucherCode) {
console.log('Voucher: ' + data.data.voucherCode);
alert('Voucher: ' + data.data.voucherCode);
}
else {
console.log('no voucher');
}
document.getElementsByClassName("breadcrumb__item-text")[1].innerHTML = 'Help Center on Lazada Malaysia - Spins: ' + i;
}
}
); }, 1000);
3. Right click on any lazada page and choose Inspect
4. Choose "Sources" tab and create new snippet.
5. Paste the code on the right.
6. Right click the new snippet and click Run.
EDIT : Make sure to run the code in Sessionbox tab.
, but do i need to login to my lazada account in sessionbox ? and how do i know when i got vouchers ?