forked from Keywos/rule
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6f8dee8
Showing
294 changed files
with
14,010 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,176 @@ | ||
############################ | ||
# OS X | ||
############################ | ||
|
||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
Icon | ||
.Spotlight-V100 | ||
.Trashes | ||
._* | ||
t.js | ||
|
||
############################ | ||
# Linux | ||
############################ | ||
|
||
*~ | ||
|
||
|
||
############################ | ||
# Windows | ||
############################ | ||
|
||
Thumbs.db | ||
ehthumbs.db | ||
Desktop.ini | ||
$RECYCLE.BIN/ | ||
*.cab | ||
*.msi | ||
*.msm | ||
*.msp | ||
|
||
|
||
############################ | ||
# Packages | ||
############################ | ||
|
||
# *.7z | ||
# *.csv | ||
# *.dat | ||
# *.dmg | ||
# *.gz | ||
# *.iso | ||
# *.jar | ||
# *.rar | ||
# *.tar | ||
# *.zip | ||
# *.com | ||
# *.class | ||
# *.dll | ||
# *.exe | ||
# *.o | ||
# *.seed | ||
# *.so | ||
# *.swo | ||
# *.swp | ||
# *.swn | ||
# *.swm | ||
# *.out | ||
# *.pid | ||
|
||
|
||
############################ | ||
# Logs and databases | ||
############################ | ||
|
||
.tmp | ||
*.log | ||
*.sql | ||
*.sqlite | ||
*.sqlite3 | ||
|
||
|
||
############################ | ||
# Misc. | ||
############################ | ||
|
||
*# | ||
ssl | ||
.idea | ||
nbproject | ||
public/uploads/* | ||
!public/uploads/.gitkeep | ||
|
||
############################ | ||
# Node.js | ||
############################ | ||
|
||
lib-cov | ||
lcov.info | ||
pids | ||
logs | ||
results | ||
node_modules | ||
.node_history | ||
|
||
|
||
############################ | ||
# Tests | ||
############################ | ||
testApp | ||
coverage | ||
report | ||
mochawesome-report | ||
|
||
############################ | ||
# cache | ||
############################ | ||
.stylelintcache | ||
.eslintcache | ||
|
||
############################ | ||
# output | ||
############################ | ||
|
||
.output | ||
dist | ||
out | ||
tmp.js | ||
tmp | ||
logs | ||
# frontEnd/.next | ||
|
||
############################ | ||
# local config | ||
############################ | ||
|
||
**/config/local-*.js | ||
|
||
############################ | ||
# yarn https://yarnpkg.com/advanced/qa#which-files-should-be-gitignored | ||
############################ | ||
# If you're using Zero-Installs: | ||
|
||
# .yarn/* | ||
# !.yarn/cache | ||
# !.yarn/releases | ||
# !.yarn/plugins | ||
|
||
# If you're not using Zero-Installs: | ||
|
||
.yarn/* | ||
!.yarn/releases | ||
!.yarn/plugins | ||
.pnp.* | ||
|
||
packages/api/build | ||
packages/api/payloadConfig.json | ||
.pnpm-store | ||
|
||
|
||
|
||
/*.json | ||
!package.json | ||
!boxjs.json | ||
!boxjs-dev.json | ||
!boxjs-test.json | ||
/*.yaml | ||
test.js | ||
|
||
ql.js | ||
sendNotify.js | ||
|
||
*-local.json | ||
*-local.js | ||
*-local.stoverride | ||
|
||
box.dat | ||
*box.dat | ||
tempCodeRunnerFile.js | ||
|
||
.env | ||
|
||
10010*.txt | ||
*cookie.txt |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
keywos.eu.org |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
//转自@kokoryh | ||
!(function () { | ||
let e, | ||
a = JSON.parse($request.body); | ||
e = | ||
"0007" === a.placementNo | ||
? '{"materialsList":[{"billMaterialsId":"255","filePath":"h","creativeType":1}],"advertParam":{"skipTime":1}}' | ||
: "G0054" === a.placementNo | ||
? '{"code":"00","materialsList":[{}]}' | ||
: '{"code":"00","message":"无广告返回"}'; | ||
"undefined" != typeof $task | ||
? $done({ body: e }) | ||
: $done({ response: { body: e } }); | ||
})(); |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// YouTube少了e是为了对齐,加入了百度和bilibili测速,感谢@小白脸重写脚本原脚本,原作者@yibeizipeini来自于https://raw.githubusercontent.com/yibeizipeini/JavaScript/Surge/ConnectivityTest.js | ||
let $ = { | ||
Bilibili:'https://www.bilibili.com', | ||
Baidu:'https://www.baidu.com', | ||
YouTub:'https://www.youtube.com/', | ||
Google:'https://www.google.com/generate_204', | ||
Github:'https://www.github.com'} | ||
!(async () => { | ||
await Promise.all([http('Baidu'),http('Bilibili'),http('Github'),http('Google'),http('YouTub')]).then((x)=>{ | ||
$done({ | ||
title: 'Network Connectivity Test', | ||
content: x.join('\n'), | ||
icon: 'timer', | ||
'icon-color': '#FF5A9AF9', | ||
})})})(); | ||
function http(req) { | ||
return new Promise((r) => { | ||
let time = Date.now(); | ||
$httpClient.post($[req], (err, resp, data) => { | ||
r(req + | ||
'\xa0\xa0\xa0\xa0\t: ' + | ||
(Date.now() - time)+' ms'); | ||
});});} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
#!name=推栏 开屏广告 | ||
#!desc=2023..17 | ||
[MITM] | ||
hostname = %APPEND% m.pvp.xoyo.com | ||
[Script] | ||
mm = type=http-response,pattern=^https\:\/\/m\.pvp\.xoyo\.com\/conf\/server-mapping,requires-body=1,max-size=0,script-path=https://github.com/Keywos/rule/raw/main/JS/Daily.js | ||
*/ | ||
let obj = JSON.parse($response.body); | ||
obj.data.splashConfNew.forEach(item => { | ||
item.aliveTime = 0; | ||
item.status = item.status.replace("ON", "OFF"); | ||
let props = ["urlX", "url", "title"]; | ||
if (obj.data) { | ||
props.forEach((prop) => { | ||
delete item[prop]; | ||
});}}); | ||
$done({body: JSON.stringify(obj)}); |
Oops, something went wrong.