Skip to content

Instantly share code, notes, and snippets.

View mridulg's full-sized avatar

Mridul Gupta mridulg

View GitHub Profile
@mridulg
mridulg / EventInvite.js
Last active February 12, 2017 12:48
Invite to Events
javascript:var inputs = document.getElementsByClassName('_1pu2');
for(var i=0;i<inputs.length;i++)
{ inputs[i].click(); }
@mridulg
mridulg / PageInvite.js
Created February 10, 2017 12:16
FB add everyone to like your page
javascript:var inputs = document.getElementsByClassName('uiButtonText');
for(var i=0;i<inputs.length;i++)
{ inputs[i].click(); }
@mridulg
mridulg / addFriends.js
Created August 6, 2016 14:54
FB-Event-Invite-All-Friends
// This is not my code. I don't remember the reference.
/* Paste the code below in your browser's (preferably Chrome) address bar, after you have clicked the `Invite Friends`
option and your friend list shows up. This will try to select all whose names are displayed.
*/
// Invite limit is 500 per person per event.
// It may happen that you can select only 50 at a time. No problem, do it 10 times to select 500.
// Known bugs/features : once you paste the below code, Chrome tends to remove the `javascript:` part. You'll have to type that before you run the code
javascript:var inputs = document.getElementsByClassName('_1pu2');
for(var i=0;i<inputs.length;i++)
{ inputs[i].click(); }