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
import React from "react"; | |
import { render } from "react-dom"; | |
import App from "./App"; | |
// You have users object reference from previous exercise. | |
// Write functions what will get various data from users object. | |
const users = [ | |
{ id: 1, name: "c", role: "admin", score: 20 }, | |
{ id: 2, name: "b", role: "user", score: 10 }, |
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
/** | |
* Step 1: Open https://www.linkedin.com/mynetwork/invitation-manager/?invitationType=CONNECTION | |
* Step 2: See all the pending requests you are too lazy to accept | |
* Step 3: Open the console in your browser | |
* Step 4: Paste in this script and run it, ignore any warnings (don't worry, just enter your credit card info when asked, it's totaly safe... 😎) | |
* Step 5: Profit | |
*/ | |
const buttons = document.getElementsByClassName("invitation-card__action-btn artdeco-button artdeco-button--2 artdeco-button--secondary ember-view") | |
for (button of buttons) { | |
button.click() |