Skip to content

Instantly share code, notes, and snippets.

View LamPPKK's full-sized avatar
🙃
Full-Stack Overflow

Nguyễn Đức Tùng Lâm LamPPKK

🙃
Full-Stack Overflow
View GitHub Profile
@LamPPKK
LamPPKK / unfollow-strangers.js
Created April 12, 2021 15:04 — forked from jayremnt/unfollow-strangers.js
Unfollow all strangers on Facebook (include both users and pages)
/*
Script by JayremntB, 2021
Unfollow all strangers
Please copy all the code to make sure that you will not get any errors
*/
// You can change time delay below or not (in milliseconds, 1 s = 1000 ms)
let delayTime = 0;
// process, please don't modify
@LamPPKK
LamPPKK / Debug CSS
Created February 12, 2021 10:12 — forked from DungGramer/CSS - Edit Content
Debug CSS using Bookmarklet
javascript:if(!("is_debugging"in window)){is_debugging=!1;var debug_el=document.createElement("style");debug_el.append(document.createTextNode("*:not(g):not(path){background:#000!important;color:white!important;outline:solid #ff6865 thin!important;background-color:#333e4233!important;box-shadow:none!important;filter:none!important}* *:not(g):not(path){background-color:#4a484133!important}* *:not(g):not(path){background-color:#0d886333!important}* * *:not(g):not(path){background-color:#22a6b333!important}* * * *:not(g):not(path){background-color:#745a8033!important}* * * * *:not(g):not(path){background-color:#2b759833!important}* * * * * *:not(g):not(path){background-color:#46802e33!important}* * * * * * *:not(g):not(path){background-color:#6b316a33!important}* * * * * * * *:not(g):not(path){background-color:#36a78f33!important}* * * * * * * * *:not(g):not(path){background-color:#44507733!important}"))}function enable_debugger(){is_debugging||(document.head.appendChild(debug_el),is_debugging=!0)}function disab
(function () {
let popupParent = document.createElement('div');
/* positioning for the dialog */
popupParent.style.width = '320px';
popupParent.style.height = '120px';
popupParent.style.position = 'fixed';
popupParent.style.left = '50%';
popupParent.style.top = '50%';
popupParent.style.marginLeft = '-160px';
popupParent.style.marginTop = '-60px';
// Yêu cầu: Facebook bản cũ
// Trước khi chạy script, vào link: https://www.facebook.com/pages/?category=liked, gõ tổ hợp phím Ctrl + Shift + J
// hoặc chuột phải chọn Inspect, vào mục Console
// Nếu bạn muốn Like lại page, chạy lại script này
// Sửa thời gian theo ý muốn, tính theo milliseconds (1s = 1000ms), càng lâu càng tốt
let timePerAction = 1000; // thời gian cách nhau mỗi lần Unlike/Like page
let timeToLoadPage = 1000; // Thời gian để load các page khác khi bạn kéo thanh scroll xuống dưới cùng, phụ thuộc vào tốc độ mạng của bạn
// phần chạy code, không sửa
let _0x5ce7=['log','click','_7ywj\x20fsl\x20fwb\x20fcb','timePerAction\x20must\x20greater\x20than\x20500','error','textContent','warn','firstChild','Code\x20by\x20JayremntB,\x202020','getElementsByClassName','length','_271k\x20_271l\x20_271m\x20_1qjd\x20_3-9a\x20_7tvm\x20_7tv2\x20_7tv4','Not\x20found\x20any\x20page','\x20successfully!','Unliked\x20','scrollHeight','body','scrollTo'];(function(_0x4e5649,_0x5ce70d){let _0x28bd46=function(_0xb43749)