mirror of
https://github.com/MoonLeeeaf/FuckMaoNemo.git
synced 2025-06-06 11:23:33 +08:00
Compare commits
3 Commits
05f2d3915c
...
54f1597235
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
54f1597235 | ||
|
|
68b3d96fdd | ||
|
|
c6a3f015e5 |
@@ -1,20 +1,35 @@
|
|||||||
{
|
{
|
||||||
"allFiles": [
|
"allFiles": [
|
||||||
{
|
{
|
||||||
"file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/java/io/github/moonleeeaf/fuckmaonemo/Hook.java",
|
"file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/res/xml/config.xml",
|
||||||
"selection": {
|
"selection": {
|
||||||
"end": {
|
"end": {
|
||||||
"column": 51,
|
"column": 36,
|
||||||
"index": 3944,
|
"index": 1031,
|
||||||
"line": 90
|
"line": 30
|
||||||
},
|
},
|
||||||
"start": {
|
"start": {
|
||||||
"column": 51,
|
"column": 36,
|
||||||
"index": 3944,
|
"index": 1031,
|
||||||
"line": 90
|
"line": 30
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/build.gradle",
|
||||||
|
"selection": {
|
||||||
|
"end": {
|
||||||
|
"column": 26,
|
||||||
|
"index": 302,
|
||||||
|
"line": 15
|
||||||
|
},
|
||||||
|
"start": {
|
||||||
|
"column": 26,
|
||||||
|
"index": 302,
|
||||||
|
"line": 15
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"selectedFile": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/java/io/github/moonleeeaf/fuckmaonemo/Hook.java"
|
"selectedFile": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/build.gradle"
|
||||||
}
|
}
|
||||||
BIN
.github/1.jpg
vendored
BIN
.github/1.jpg
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 240 KiB After Width: | Height: | Size: 391 KiB |
@@ -12,8 +12,8 @@ android {
|
|||||||
applicationId "io.github.moonleeeaf.fuckmaonemo"
|
applicationId "io.github.moonleeeaf.fuckmaonemo"
|
||||||
minSdk 21
|
minSdk 21
|
||||||
targetSdk 33
|
targetSdk 33
|
||||||
versionCode 11000
|
versionCode 12100
|
||||||
versionName "1.1.0"
|
versionName "1.2.1"
|
||||||
|
|
||||||
vectorDrawables {
|
vectorDrawables {
|
||||||
useSupportLibrary true
|
useSupportLibrary true
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ package io.github.moonleeeaf.fuckmaonemo;
|
|||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
import android.content.Intent;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
import de.robv.android.xposed.IXposedHookLoadPackage;
|
import de.robv.android.xposed.IXposedHookLoadPackage;
|
||||||
@@ -150,6 +151,19 @@ public class Hook implements IXposedHookLoadPackage {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// 屏蔽更新
|
||||||
|
load("fuck_update", () -> {
|
||||||
|
XposedBridge.log("[FuckMaoNemo] Hook_屏蔽更新");
|
||||||
|
methodToVoid(
|
||||||
|
getMethod(
|
||||||
|
XposedHelpers.findClass("com.codemao.nemo.sdk.update.NetChangeReceiver", classLoader),
|
||||||
|
"onReceive",
|
||||||
|
Context.class,
|
||||||
|
Intent.class
|
||||||
|
)
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
XposedBridge.log("[FuckMaoNemo] 执行完毕");
|
XposedBridge.log("[FuckMaoNemo] 执行完毕");
|
||||||
|
|
||||||
Toast.makeText(getApplication(), "[FuckMaoNemo] 加载成功 (≧▽≦)\n" + nohengheng + " 个功能加载成功, " + aaaa + " 个失败", Toast.LENGTH_LONG).show();
|
Toast.makeText(getApplication(), "[FuckMaoNemo] 加载成功 (≧▽≦)\n" + nohengheng + " 个功能加载成功, " + aaaa + " 个失败", Toast.LENGTH_LONG).show();
|
||||||
|
|||||||
@@ -17,13 +17,19 @@
|
|||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:key="fuck_40x"
|
android:key="fuck_40x"
|
||||||
android:title="阻止服务端响应 40x 码"
|
android:title="阻止服务端响应 40x 码"
|
||||||
android:summary="启用此开关后,将可以:\n拦截 401 码强制登出账号\n强制浏览已封禁账号的资料卡\n评论接口检测\n其他作用\n现在不再弹出 Toast 提示" />
|
android:summary="拦截 401 码强制登出账号\n强制浏览已封禁账号的资料卡\n评论接口检测\n获得调试信息?" />
|
||||||
|
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:key="no_records"
|
android:key="no_records"
|
||||||
android:title="不要追踪我"
|
android:title="不要追踪我"
|
||||||
android:summary="启用后,模块将会拦截 CodeMaoStat.recordEvent(str, map) 调用(比如点击创作按钮都会发送一个 collect 请求),风险未知" />
|
android:summary="启用后,模块将会拦截 CodeMaoStat.recordEvent(str, map) 调用(比如点击创作按钮都会发送一个 collect 请求),风险未知" />
|
||||||
|
|
||||||
|
|
||||||
|
<SwitchPreference
|
||||||
|
android:key="fuck_update"
|
||||||
|
android:title="屏蔽更新"
|
||||||
|
android:summary="主页不会弹更新对话框" />
|
||||||
|
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:key="fuck_no_proxy"
|
android:key="fuck_no_proxy"
|
||||||
android:title="反防抓包"
|
android:title="反防抓包"
|
||||||
|
|||||||
Reference in New Issue
Block a user