Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // use on page that says: "Select Slack contacts you want to connect with"
- for (var i=0; i<5295; i++) {
- if ($('.picker-pic img')[i].getAttribute('alt') === "Nopic") {
- $($('.friend_container ul li')[i]).hide()
- }
- if ($('.picker-pic img')[i].getAttribute('alt') !== "Nopic") {
- $($('.friend_container ul li')[i]).click()
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement