Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

how to like posts on instagram js

let likes = 0;
setInterval(() => {
    const heart = document.querySelector('svg[aria-label="Like"]').parentNode;
    const arrow = document.querySelector('a.coreSpriteRightPaginationArrow');
    if (heart) {
        heart.click()
        likes++;
        console.log(`You've liked ${likes} post(s)`);
    }
    arrow.click();
}, 5000);
Comment

PREVIOUS NEXT
Code Example
Javascript :: print array elements in new line javascript 
Javascript :: android MediaController audio example 
Javascript :: how to make a <li when clicked on a button js 
Javascript :: javascript perms 
Javascript :: declaraguate 
Javascript :: unload js object 
Javascript :: how to check if jquery element is loaded 
Javascript :: Arr::get() The Arr::get method retrieves a value from a deeply nested array using "dot" notation: 
Javascript :: how to use mixed quotes in a sentence in js 
Javascript :: vscode php format brackets 
Javascript :: material ui css supports 
Javascript :: multiple parameters in url Servlet 
Javascript :: logo ticker html javascript 
Javascript :: emacs some part of the text read only 
Javascript :: module scope javascript 
Javascript :: enzym.debug 
Javascript :: objection eager loading 
Javascript :: react native bottom sheet example 
Javascript :: javascript range setstart 
Javascript :: use ES6 import syntax when you enhance the script tag 
Javascript :: this.$moment.tz.guess() not working mozilla 
Javascript :: jstree get not disabled nodes 
Javascript :: "Perform native operation by javascript in Android" 
Javascript :: concat not working javascript 
Javascript :: utility javascript function list 
Javascript :: uploading form data using axios to back end server such as node js 
Javascript :: all ways pass data to onather page in javascript 
Javascript :: jquery ajax snippet 
Javascript :: odoo owl usestate 
Javascript :: reloading init state 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =