Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 612 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 612 Bytes

LinkedIn-Auto-Endorse

Copy and paste the following script in the console while the endorsement box showing.

var timeout = 1000;
var action = function() {
    // Loop the endorse buttons
    $('.endorse-action').each(function(index, value){
      setTimeout(function() {
        $(value).trigger('click', true );
        console.log($('.endorse-action').parent().find('.endorse-question strong:eq(0)').html() + ' knows ' + $('.endorse-action').parent().find('.endorse-question strong:eq(1)').html());
      }, 1500);
    });
    setTimeout(action, timeout);
};
action();