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
/// Original found here: https://github.com/abrahamjuliot/ublock-origin-abf | |
/// abf.js | |
/// alias abf.js | |
(function() { | |
const sessionName = '@user__' | |
const hashMini = str => { | |
const json = `${JSON.stringify(str)}` | |
let i, len, hash = 0x811c9dc5 | |
for (i = 0, len = json.length; i < len; i++) { |
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
v16a.tiktokcdn.com | |
p16-tiktokcdn-com.akamaized.net | |
log.tiktokv.com | |
ib.tiktokv.com | |
api-h2.tiktokv.com | |
v16m.tiktokcdn.com | |
api.tiktokv.com | |
v19.tiktokcdn.com | |
mon.musical.ly | |
api2-16-h2.musical.ly |
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
/* | |
build with cargo build --release | |
to run, do ./abp_to_host <path_to_abp_blocklist> | |
*/ | |
use std::{fs, env}; |