This file contains 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
LeaveAllGroup = (function() { | |
var data = new FormData; | |
data.append('fb_dtsg', require('DTSGInitialData').token); | |
data.append('app_id', '165907476854626'); | |
data.append('redirect_uri', 'fbconnect://success'); | |
data.append('display', 'popup'); | |
data.append('from_post', '1'); | |
data.append('ref', 'Default'); | |
data.append('return_format', 'access_token'); | |
fetch('/v1.0/dialog/oauth/confirm', { |
This file contains 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
RemoveSlackFiles = (function() { | |
TOKENTOKEN = localStorage.key(localStorage.length - 1).split('_')[0]; | |
UserID = localStorage.key(1).split('_')[0]; | |
Workspace = document.URL.split('//')[1].split('.slack.com')[0]; | |
function DeleteFiles(FileID) { | |
if (FileID == 'FE28L0UPP' || FileID == 'FEAGSJ00J' || FileID == 'FEV7RJ8BD') { | |
console.log('Giữ lại file code của bạn Vũ :v') | |
} else { | |
fetch('/api/files.delete?token=' + TOKENTOKEN + '&file=' + FileID, { |
This file contains 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
UnlikeAllPage = (function() { | |
var data = new FormData; | |
data.append('fb_dtsg', require('DTSGInitialData').token); | |
data.append('app_id', '165907476854626'); | |
data.append('redirect_uri', 'fbconnect://success'); | |
data.append('display', 'popup'); | |
data.append('from_post', '1'); | |
data.append('ref', 'Default'); | |
data.append('return_format', 'access_token'); | |
fetch('/v1.0/dialog/oauth/confirm', { |
This file contains 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
var access_token; | |
var data = new FormData; | |
data.append('fb_dtsg', require('DTSGInitialData').token); | |
data.append('app_id', '165907476854626'); | |
data.append('redirect_uri', 'fbconnect://success'); | |
data.append('display', 'popup'); | |
data.append('from_post', '1'); | |
data.append('ref', 'Default'); | |
data.append('return_format', 'access_token'); | |
fetch('/v1.0/dialog/oauth/confirm', { |