show dbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let likes = 0; | |
setInterval(() => { | |
const heart = document.querySelector('svg[aria-label="Like"][width="24"]'); | |
const arrow = document.querySelector('svg[aria-label="Next"]'); | |
if (heart) { | |
heart.parentNode.parentElement.click() | |
likes++; | |
console.log(`You've liked ${likes} post(s)`); | |
} | |
arrow.parentElement.parentElement.click(); |
First step: Install Android SDK
yaourt -S android-sdk android-sdk-platform-tools android-sdk-build-tools
Note: Maybe you'll have problems with the lasta package:ncurses5-compat-libs
. In order to avoid this problem you have to use this command:gpg --recv-keys F7E48EDB
. You can find clarification here.yaourt -S genymotion
Note: You'll need installvirtual-box
and his modules,yaourt
will make for you but you need choos between ArchLinux host modules or DKMS host modules.- Enter in super user mode with
su -
and then doecho -e "vboxdrv\nvboxnetflt\nvboxnetadp\nvboxpci" > /etc/modules-load.d/virtualbox.conf
Note: You need do this with super user because need super user permissions and withsudo
, for us at least, doesn't work. sudo modprobe vboxdrv vboxnetadp vboxnetflt
Activate for current session.sudo chmod -R 777 /opt/android-sdk