This file contains hidden or 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
///////////////////////////////////////////////////////////////////////////////////////// | |
************************************** INITIALIZE *************************************** | |
///////////////////////////////////////////////////////////////////////////////////////// | |
Server.default.options.outDevice = "Built-in Output"; | |
s.options.numBuffers = 2048 * 16; | |
s.options.memSize = 8192 * 16; | |
s.options.maxNodes = 1024 * 32; | |
// s.options.numOutputBusChannels = 12; | |
s.options.numInputBusChannels = 0; |
This file contains hidden or 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
// 1.--------------------declaration-------------------------- | |
// add pages/group/people to unfollow here. | |
const targetList = { | |
"page_name_xxx" : "https://www.facebook.com/page_name_to_be_unfollow/", | |
"group_name_xxx" : "https://www.facebook.com/group/group_name_url_to_be_unfollowed", | |
"people_name_xxx" : "https://www.facebook.com/name_to_be_unfollow", | |
} | |
let offset = 0 |
This file contains hidden or 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
// 1. create script element and append to head; | |
const sc = document.createElement("script"); | |
sc.setAttribute("src", "https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.min.js"); | |
document.head.append(sc) | |
// 2.create downloader function | |
function downloadBase64File(contentType, base64Data, fileName) { | |
const linkSource = `data:${contentType};base64,${base64Data}`; | |
const downloadLink = document.createElement("a"); | |
downloadLink.href = linkSource; |