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
|
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
const foo = (a) => a+1; | |
export default foo; |
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
for (let key in this.hooks) { | |
const hook = this.hooks[key as keyof typeof this.hooks]; | |
hook.intercept({ | |
call: (...args) => { | |
logger.debug(`Start call hook: ${key} ${util.inspect(args)}`) | |
}, | |
tap(tap: Tap) { | |
logger.debug(`[hook] executing >>${tap.name}<< hook`) | |
}, | |
register(tap) { |
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
// ==UserScript== | |
// @name switch fastSwitchRegion | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description switch 快速换区 | |
// @author metajs | |
// @match https://accounts.nintendo.com/profile/edit | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=nintendo.com | |
// @homepageURL https://gist.github.com/broven/8eacdc57f2bbdebb6499351e4c67be9e | |
// @updateURL https://gist.github.com/broven/8eacdc57f2bbdebb6499351e4c67be9e/raw/NintendoFastSwitch.user.js |
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
#!name=MitM All Hostnames | |
#!desc=Perform MitM on all hostnames with port 443, except those to Apple and other common sites which can't be inspected. You still need to configure a CA certificate and enable the main switch of MitM. | |
[MITM] | |
hostname = -*.apple.com, -*.icloud.com, -*.mzstatic.com, -*.crashlytics.com, -*.facebook.com, -*.instagram.com, * |