This file contains hidden or 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
// Go to https://www.linkedin.com/mynetwork/invitation-manager/ and run the following code | |
// For more amazing content, visit -- https://bit.ly/devtools-yt | |
var ACCEPT_BTN_SELECTOR = ".invitation-card__action-btn:nth-of-type(2)"; | |
var REJECT_BTN_SELECTOR = ".invitation-card__action-btn:nth-of-type(1)"; | |
var DELAY = 2000; // in miliseconds | 2 seconds delay between each request accept | |
var ACCEPT = true; // set to false if you want to reject all connections | |
function sleep() { |
This file contains hidden or 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, { Component } from 'react'; | |
import { connect } from 'react-redux'; | |
import { updateUser } from '../actions/userActions'; | |
class Form extends Component { | |
constructor(props) { | |
super(props); | |
this.state = {}; | |
this.handleChange = this.handleChange.bind(this); | |
this.handleSubmit = this.handleSubmit.bind(this); |