Skip to content

Commit

Permalink
[+]
Browse files Browse the repository at this point in the history
  • Loading branch information
Keywos committed Jan 30, 2024
0 parents commit 6f8dee8
Show file tree
Hide file tree
Showing 294 changed files with 14,010 additions and 0 deletions.
176 changes: 176 additions & 0 deletions .gitignore
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
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
keywos.eu.org
14 changes: 14 additions & 0 deletions JS/12306.js
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 } });
})();
95 changes: 95 additions & 0 deletions JS/Blinew.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions JS/CNPing.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions JS/CNPingMini.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions JS/ConnectivityTest.js
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');
});});}
20 changes: 20 additions & 0 deletions JS/Daily.js
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)});
Loading

0 comments on commit 6f8dee8

Please sign in to comment.