mirror of
https://github.com/fmz200/wool_scripts.git
synced 2025-12-20 13:43:58 +08:00
Initial commit: new history
This commit is contained in:
9
Scripts/applet.js
Normal file
9
Scripts/applet.js
Normal file
@ -0,0 +1,9 @@
|
||||
//############################################
|
||||
//#!name=微信小程序去广告脚本
|
||||
//#!date:2023-03-19
|
||||
//#############################################
|
||||
|
||||
|
||||
re('"excitationAd":"\\d"@Ad":"\d"@ad":true@AdId":"[^"]*"@adid":"[^"]*"@fr_videp_if":"1@adunit[^"]*"','"excitationAd":"0"@Ad":"0"@ad":false@AdId":""@adid":""@fr_videp_if":"0@"')
|
||||
|
||||
function re(){var e=$response.body;if(arguments[0].includes("@")){var r=arguments[0].split("@"),l=arguments[1].split("@");for(i=0;i<r.length;i++){var a=RegExp(r[i],"g");e=e.replace(a,l[i])}}else{var a=RegExp(arguments[0],"g");e=e.replace(a,arguments[1])}$done(e)}
|
||||
Reference in New Issue
Block a user