Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
sdf committed Mar 30, 2024
1 parent 43b89f6 commit 68c8734
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions rewrite/js/7mao.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,20 @@ if (url.indexOf("/reader-copy-paragraph-all.json") != -1) {
}

} else if (url.indexOf("/splash/index") != -1) {
if (obj?.data?.init?.is_show_ad) {
if (obj?.data?.init) {
obj.data.init.is_show_ad = "0";
obj.data.reward_upper_limit = "10";
obj.data.init.voice_free_chapter_count = "999";
}

if (obj?.data?.adv?.config) {
obj.data.adv.config.auto_download_material = "0";
obj.data.adv.config.popuplimit = 1;
if (obj?.data?.adv) {
obj.data.adv = [];
}

if (obj?.params) {
obj.params.ad_unit_id = "";
obj.params.ad_program_switch = 0;
obj.params.ad_personal_switch = 0;
obj.params.vip_status = 1;
}
} else if (url.indexOf("/init/other-data") != -1) {
Expand Down

0 comments on commit 68c8734

Please sign in to comment.