RE: What's wrong with this JS code? 01-09-2019, 04:15 AM
#4
(01-08-2019, 06:18 AM)mothered Wrote: If I'm not mistaken, the await can only work within an async function, hence the syntax error.
Try wrapping the await within the async function.
I guess that's what return exception was saying, but I didn't understand any of it.
(01-08-2019, 08:09 AM)Hoss Wrote: Did you know God kills innocent kittens when you write code like that? Like... brutally murders them and laughs.
I did this to save lives:
Code:setInterval(() => { let items = document.querySelectorAll('._0mzm-') let bound = items.length >= 25 ? 25 : items.length for (var i = 0; i < bound; i++) { if (items[i].innerText === 'Follow') { items[i].click() } } }, 601500)
You may also want to experiment with variable sleep times along with spreading requests over proxies. DM me if you have questions.
Seems to work like a charm, thank you for this
Profitable dating, shopping, VPN, finance checkers - Click here to visit!
Website: kidux.net, Telegram group: t.me/kiduxcheckers
Website: kidux.net, Telegram group: t.me/kiduxcheckers



![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)