Welcome Guest ( Log In | Register )

Bump Topic Topic Closed RSS Feed
5 Pages  1 2 3 > » Bottom

Outline · [ Standard ] · Linear+

> Lazada Discussion V20 | #BuyFirstRegretLater, lalalaxx.com | pricecampers.com

views
     
rhytion
post Sep 7 2017, 11:07 PM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


setInterval(function() {
document.querySelector('.spin-the-wheel__wheel-spin').click();

console.log('OK: ' + document.getElementsByClassName('spin-the-wheel__popup-voucher-code')[0].innerHTML);

}, getRandomInt(3000, 6500));

function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

I suppose making the time value random would be safer?
rhytion
post Sep 8 2017, 05:29 PM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


setInterval(function() {

document.getElementsByClassName('spin-the-wheel__popup-voucher-code')[0].innerHTML = '';

document.querySelector('.spin-the-wheel__wheel-spin').click();
if(document.getElementsByClassName('spin-the-wheel__popup-voucher-code')[0].innerHTML) {
console.log('Voucher: ' + document.getElementsByClassName('spin-the-wheel__popup-voucher-code')[0].innerHTML);

} else {
console.log('No voucher spinned');
}

}, 3800);

Is there anything wrong with this code now? Trying to solve the problem in which the code continues showing a voucher when one is spinned.
rhytion
post Sep 8 2017, 10:56 PM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


QUOTE(jackiez @ Sep 8 2017, 10:54 PM)
just got 1 29% just now cont trying all although 1 hour plus left

method same as someone who shared earlier

incognito/private mode , 1 tab , no log in , use script

and pm me if anyone want 19%, i got extra 1

rly thx to those who shared tips n super script  notworthy.gif
*
I have 3 19% already but no luck getting 29%, guess I'm gonna try ur tip. rclxms.gif
rhytion
post Sep 8 2017, 11:11 PM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


I'm just wondering, is there really anyone who's generous enough to donate their 29% voucher? Looking for one, not putting on much hope put miracles do happen sometime haha.
rhytion
post Sep 8 2017, 11:15 PM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


QUOTE(PrincZe @ Sep 8 2017, 11:12 PM)
so when is the due date of using these vouchers?
*
11 Sep
rhytion
post Sep 8 2017, 11:26 PM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


With only 35 minutes left, if I get a 29% code, it would be a pure miracle lol
rhytion
post Sep 8 2017, 11:48 PM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


QUOTE(dagnarus @ Sep 8 2017, 11:47 PM)
I'm going to hunt for a cheap but decent router, anyone got any suggestion, I'm not willing to spend more than 300 though tongue.gif
*
Why not get the Huawei WS880 from a forumer here in the garage sales section? RM 300 with space to nego.
rhytion
post Sep 8 2017, 11:57 PM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


Just use if you want: 5KAWdbnsj5
rhytion
post Sep 9 2017, 12:07 AM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


I doubt there's any price difference for the Redmi 4A
rhytion
post Sep 9 2017, 12:14 AM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


Now all this donation requests start....
rhytion
post Sep 9 2017, 08:23 AM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


If someone is kind enough to donate me some 29% voucher for buying something 400++, will appreciate if you could Pm me haha, if can't might as well just release here.
rhytion
post Sep 9 2017, 08:26 AM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


QUOTE(Stormknight @ Sep 9 2017, 08:25 AM)
Hmm what to buy, redmi note 4?

Wanred to get the seagate hdd but someone mentioned lazada drop to 240 previously kek
*
Looking to buy the same phone as well, just hoping for 29% voucher now.
rhytion
post Sep 9 2017, 08:34 AM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


QUOTE(Keatsan @ Sep 9 2017, 08:33 AM)
RN4 32gb after voucher is around 590. Quite a steal. Unless 11.11 had voucher like this.
*
I thought it's cheaper? I saw Malaysia set selling for RM 650
rhytion
post Sep 9 2017, 09:59 AM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


QUOTE(urnicksux2 @ Sep 9 2017, 09:58 AM)
thx just got 29%
*
So lucky...tried many time still got nothing. Any tips? cry.gif
rhytion
post Sep 9 2017, 10:08 AM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


Which sector is the 29% voucher in? Time to make a script
rhytion
post Sep 9 2017, 10:19 AM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


Run this on any lazada malaysia webpage you like.

CODE

var getJSON = function(url) {
 return new Promise(function(resolve, reject) {
   var xhr = new XMLHttpRequest();
   xhr.open('get', url, true);
   xhr.responseType = 'json';
   xhr.onload = function() {
     var status = xhr.status;
     if (status == 200) {
       resolve(xhr.response);
     } else {
       reject(status);
     }
   };
   xhr.send();
 });
};

setInterval(function() {
getJSON('http://www.lazada.com.my/ajax/lottery/spinTheWheel/?lang=en&platform=desktop&wheelToken=b5dd7e9dcbde84b3e11a9ae90d377b02&dpr=2').then(function(data) {
   if(data.data.voucherCode) {
   console.log('Voucher: ' + data.data.voucherCode);
   }
   else { console.log('no voucher'); }
   }, function(status) { //error detection....
 alert('Something went wrong.');
}); }, 5000);


This post has been edited by rhytion: Sep 9 2017, 03:52 PM
rhytion
post Sep 9 2017, 10:26 AM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


QUOTE(pwlow @ Sep 9 2017, 10:25 AM)
I want only one 29% voucher, anyone can PM me ? Appreciate your help, thanks.
*
Me too haha, running a new script now but still no luck.
rhytion
post Sep 9 2017, 10:27 AM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


QUOTE(ljf123 @ Sep 9 2017, 10:26 AM)
if change 5000 to lesser time, also can right?
*
Yes
rhytion
post Sep 9 2017, 10:29 AM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


QUOTE(GoogleSearch @ Sep 9 2017, 10:27 AM)
Using script lah, bro,
now every pro sharing tips and script,
If still cant get then own problem liao

CODE
setInterval(()=> {
$.ajax({
 url: "http://www.lazada.com.my/ajax/lottery/spinTheWheel/?lang=en&platform=desktop&wheelToken=b5dd7e9dcbde84b3e11a9ae90d377b02&dpr=2"
})
 .done(function( res ) {
   if ( res && res.data && res.data.voucherCode ) {
 alert(res.data.voucherCode);
     console.log( "Voucher:", res.data.voucherCode );
   } else {
 console.log('wait')
   }
 });
}, 1000)

*
I just made my own script and even myself get nothing rclxub.gif
rhytion
post Sep 9 2017, 10:33 AM

Casual
***
Junior Member
389 posts

Joined: Oct 2016
From: Kota Kinabalu


QUOTE(iwubpreve @ Sep 9 2017, 10:32 AM)
not IT base. copy this to notepad and what?
*
In Google chrome, ctrl+shift+i and paste, then press enter

5 Pages  1 2 3 > » 
Bump Topic Topic ClosedOptions New Topic
 

Change to:
| Lo-Fi Version
0.1001sec    0.43    7 queries    GZIP Disabled
Time is now: 9th December 2025 - 11:00 AM