mirror of
https://github.com/HugoAura/Seewo-HugoAura.git
synced 2026-06-21 23:54:26 +08:00
[Feat] Bump version to 0.1.0-beta && 1st rel
This commit is contained in:
27
src/aura/jsRewrite/network/disableFriday.js
Normal file
27
src/aura/jsRewrite/network/disableFriday.js
Normal file
@@ -0,0 +1,27 @@
|
||||
/// Rewrite rules basic config section begins ///
|
||||
|
||||
const type = "localResource";
|
||||
|
||||
const urlPattern = "preLoad.js";
|
||||
|
||||
const beginOfHook = "window._faq=window._faq||[],";
|
||||
|
||||
const endOfHook = ",p=document,";
|
||||
|
||||
/// End of the rewrite rules basic config section ///
|
||||
|
||||
let hookedContentFunc = () => {
|
||||
f =
|
||||
"https://monday.cvte.local/agent/sdk/js/v2/genshin.js?_appId=" +
|
||||
window.webConfig.fridayAppId;
|
||||
};
|
||||
|
||||
hookedContentFunc = hookedContentFunc.toString().replace(";", "");
|
||||
|
||||
module.exports = {
|
||||
type,
|
||||
urlPattern,
|
||||
beginOfHook,
|
||||
endOfHook,
|
||||
hookedContentFunc,
|
||||
};
|
||||
Reference in New Issue
Block a user