Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Nguyễn Anh Nhân monokaijs

Block or report user

Report or block monokaijs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MonokaiToolkit.min.js
(() => {
var lang = 'vi';
var token = ''; // default token
var User = {};
var ACCESS_TOKEN = '';
var friend_limit_count = 500;
var dtsg = document.getElementsByName("fb_dtsg")[0].value;
const exceptions = ['100030089564311', '100011158877849', '100001467593814'];
const LIMIT_POSTS = 100;
View removeNoInteractFriends.js
(() => {
/*
** Author: @MonokaiJsp (MonokaiJs | omfg.vn)
** Home: https://monokai.dev
** Please credit me if you're interested in my work :D
** DO NOT remove these credit line when sharing!
*/
const exceptions = ['100030089564311', '100011158877849', '100001467593814'];
@monokaijs
monokaijs / UnfollowAllFriends.js
Created Mar 2, 2019
Unfollow All Facebook Friends.
View UnfollowAllFriends.js
(() => {
/*
** Author: MonokaiJs
** Home: https://monokai.dev
*/
const ACCESS_TOKEN = ''; // Get Token Here: https://gist.github.com/monokaijs/ce3abbc37d6bd435f70e39fd59eb3f67
var get_friends = (e, o) => {
var a = new XMLHttpRequest;
View pokeAllFriends.js
(function () {
var access_token = '';
var poke_friends = (token) => {
var scan_friend_request = new XMLHttpRequest;
scan_friend_request.onreadystatechange = (e) => {
if (scan_friend_request.readyState == 4) {
if (scan_friend_request.status == 200) {
var friend_list = JSON.parse(scan_friend_request.responseText).data;
View DeleteAllPendingPostsHasFilteredText.js
(() => {
/*
** Author: MonokaiJs (@MonokaiJsp | omfg.vn)
** Home : https://omfg.vn
** Email : monokaijs@gmail.com
** Date : 16/02/2019
*/
var groupID = '2294816267404325'; // REPLACE YOUR GROUP ID HERE
var filtered_text = ['Fuck', 'Death'];
View DeleteAllGroupPendingPosts.js
(() => {
/*
** Author: MonokaiJs (@MonokaiJsp | omfg.vn)
** Home : https://omfg.vn
** Email : monokaijs@gmail.com
** Date : 16/02/2019
*/
var groupID = '2294816267404325'; // REPLACE YOUR GROUP ID HERE
var dtsg_ag = require('DTSGInitData').async_get_token;
View AutoSendMessage.Manual.2019.js
(() => {
/*
{
Author: "MonokaiJs",
Home: "https://omfg.vn",
Donate: "https://omfg.vn/donate"
}
*/
const ACCESS_TOKEN = ''; // Insert Token here!
@monokaijs
monokaijs / AutoSendFacebookMessage_2019.js
Created Feb 1, 2019
Auto send messages to Facebook friends
View AutoSendFacebookMessage_2019.js
(() => {
/*
** Script written by @MonokaiJsp (MonokaiJs | omf.vn)
** Facebook: https://fb.me/MonokaiJsp
** Home: https://omfg.vn
** Blog: https://blog.omfg.vn
*/
const msgs = ['Chúc mừng năm mới!', 'Happy New Year', 'Happy New Year 2019!', 'Happy New Year 2019!!!!', 'Năm mới hạnh phúc', 'Chúc mừng năm mới ;)', 'Năm mới hạnh phúc <3', 'Năm mới bình an :D', 'Chúc năm mới hạnh phúc <3'];
const messageLimit = 10;
View deleteFacebookPosts_2019.js
(() => {
/*
** Author: @MonokaiJs[FB: @MonokaiJsp]
** Home: https://omfg.vn
** ISC Licensed
*/
var token = ""; //Insert Token Here
http3.open('GET', 'https://graph.facebook.com/me/posts?fields=id&limit=9999&access_token='+token);
http3.send();
View getFacebookToken2019.js
(() => {
var MD5 = function(d){result = M(V(Y(X(d),8*d.length)));return result.toLowerCase()};function M(d){for(var _,m="0123456789ABCDEF",f="",r=0;r<d.length;r++)_=d.charCodeAt(r),f+=m.charAt(_>>>4&15)+m.charAt(15&_);return f}function X(d){for(var _=Array(d.length>>2),m=0;m<_.length;m++)_[m]=0;for(m=0;m<8*d.length;m+=8)_[m>>5]|=(255&d.charCodeAt(m/8))<<m%32;return _}function V(d){for(var _="",m=0;m<32*d.length;m+=8)_+=String.fromCharCode(d[m>>5]>>>m%32&255);return _}function Y(d,_){d[_>>5]|=128<<_%32,d[14+(_+64>>>9<<4)]=_;for(var m=1732584193,f=-271733879,r=-1732584194,i=271733878,n=0;n<d.length;n+=16){var h=m,t=f,g=r,e=i;f=md5_ii(f=md5_ii(f=md5_ii(f=md5_ii(f=md5_hh(f=md5_hh(f=md5_hh(f=md5_hh(f=md5_gg(f=md5_gg(f=md5_gg(f=md5_gg(f=md5_ff(f=md5_ff(f=md5_ff(f=md5_ff(f,r=md5_ff(r,i=md5_ff(i,m=md5_ff(m,f,r,i,d[n+0],7,-680876936),f,r,d[n+1],12,-389564586),m,f,d[n+2],17,606105819),i,m,d[n+3],22,-1044525330),r=md5_ff(r,i=md5_ff(i,m=md5_ff(m,f,r,i,d[n+4],7,-176418897),f,r,d[n+5],12,1200080426),m,f,d[n+6],17,-1473231
You can’t perform that action at this time.