Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Code to invite all Facebook friends to an event
SUBMITTED BY:
bastulax
DATE:
Feb. 19, 2017, 11:39 p.m.
FORMAT:
Text only
SIZE:
867 Bytes
Raw
Download
Tweet
HITS:
402
Go to comments
Report
1. Go to event page
2. click invite > invite friends
3. Scroll to bottom. Scroll ALL the way down until names stop loading
4. Past script to URL . (on chrome you should paste script without "javascript:", and after paste add "javascript:" )
javascript:elms=document.getElementsByName("profileChooserItems")[0];var tmpElms = [];var tmpElmsObj = {};elmsClass=document.getElementsByClassName('_1pu0');for (i=0;i<elmsClass.length;i++){var id = elmsClass[i].getAttribute("data-reactid");var classActive = elmsClass[i].getElementsByClassName('_1pu2')[0];id = classActive.getAttribute("aria-labelledby");classActive.className = "_1pu2 _1pu3";classActive.setAttribute('aria-checked', true);id = id.split('-');id = id[0];tmpElmsObj[id] = 1;tmpElms.push(id);}document.getElementsByName('profileChooserItems')[0].value=JSON.stringify(tmpElmsObj);void(0);
5. click enter
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus