Skip to content

Instantly share code, notes, and snippets.

@janlay
Last active January 1, 2025 02:33
Show Gist options
  • Save janlay/d2e136be5940348bb7aee4d9c6b87b5a to your computer and use it in GitHub Desktop.
Save janlay/d2e136be5940348bb7aee4d9c6b87b5a to your computer and use it in GitHub Desktop.
魂签 (Soulsign) 脚本

About

魂签,一款用于自动签到的Chrome插件

这里存放由我创建或改进的魂签 (Soulsign) 脚本

Usage

  1. 从这里复制你想要的脚本 Raw URL
  2. 打开魂签「任务管理」
  3. 点击「添加脚本」按钮
  4. 粘贴 URL 并点击「保存」按钮

See

// ==UserScript==
// @name Audiences
// @namespace https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a
// @version 2.1.2
// @author janlay
// @loginURL https://audiences.me/
// @updateURL https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a/raw/audiences.js
// @expire 604800e3
// @domain audiences.me
// ==/UserScript==
const endpoint = 'https://audiences.me/';
exports.run = async function(param) {
const { status, data } = await axios.get(`${endpoint}attendance.php`);
if (status != 200) throw '访问失败';
if (//.test(data)) throw '未登录';
const re = / <b>(\d+)<.+?(\d+)/;
if (!re.test(data)) return '今日已签';
const [_, days, points] = data.match(re);
return `+${points} (${days}天)`;
};
exports.check = async function(param) {
var { data } = await axios.get(`${endpoint}index.php`);
return //.test(data);
};
// ==UserScript==
// @name BTSCHOOL
// @namespace https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a
// @version 2.0.3
// @author janlay
// @loginURL https://pt.btschool.club/
// @updateURL https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a/raw/btschool.js
// @expire 604800e3
// @domain pt.btschool.club
// ==/UserScript==
const endpoint = 'https://pt.btschool.club/';
exports.run = async function(param) {
const { status, data } = await axios.get(`${endpoint}index.php?action=addbonus`);
if (status != 200) throw '访问失败';
if (//.test(data)) throw '未登录';
const re = /(\d+)/;
if (!re.test(data)) return '今日已签';
const [_, points] = data.match(re);
return '+' + points;
};
exports.check = async function(param) {
var { data } = await axios.get(`${endpoint}index.php`);
return //.test(data);
};
// ==UserScript==
// @name FRDS
// @namespace https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a
// @version 2.0.1
// @author janlay
// @loginURL https://pt.keepfrds.com/
// @updateURL https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a/raw/frds.js
// @expire 604800e3
// @domain pt.keepfrds.com
// ==/UserScript==
const endpoint = 'https://pt.keepfrds.com/';
exports.run = exports.check = async function(param) {
var { data } = await axios.get(`${endpoint}index.php`);
return //.test(data);
};
// ==UserScript==
// @name GLaDOS
// @namespace https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a
// @version 1.0
// @author janlay
// @loginURL https://glados.network/login
// @expire 604800e3
// @domain glados.network
// ==/UserScript==
const endpoint = 'https://glados.network';
const payload = {token: "glados.one"};
exports.run = exports.check = async function(param) {
var { points, code, message } = (await axios.post(`${endpoint}/api/user/checkin`, payload)).data;
if (points > 0) return '+' + points;
if (code == 1) return '今日已签';
throw message;
};
// ==UserScript==
// @name HD4Fans
// @namespace https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a
// @version 2.0.4
// @author janlay
// @loginURL https://pt.hd4fans.org/
// @updateURL https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a/raw/hd4fans.js
// @expire 604800e3
// @domain pt.hd4fans.org
// ==/UserScript==
const endpoint = 'https://pt.hd4fans.org/';
exports.run = async function(param) {
const params = new URLSearchParams();
params.append('action', 'checkin');
const {status, data} = await axios.get(`${endpoint}attendance.php`);
if (status != 200) throw '访问失败';
if (//.test(data)) throw '未登录';
const re = / <b>(\d+)<.+?(\d+)/;
if (!re.test(data)) return '今日已签';
const [_, days, points] = data.match(re);
return `+${points} (${days}天)`;
};
exports.check = async function(param) {
var { data } = await axios.get(`${endpoint}index.php`);
return //.test(data);
};
// ==UserScript==
// @name M-Team
// @namespace https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a
// @version 2.2.1
// @author janlay
// @loginURL https://kp.m-team.cc/login
// @updateURL https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a/raw/m-team.js
// @expire 604800e3
// @domain kp.m-team.cc
// ==/UserScript==
const endpoint = 'https://api.m-team.cc';
exports.run = exports.check = async function(param) {
var { message, code } = (await axios.post(`${endpoint}/api/system/hello`)).data;
if (code == '0') return 'OK';
throw message;
};
// ==UserScript==
// @name OurBits
// @namespace https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a
// @version 2.1.2
// @author janlay
// @loginURL https://ourbits.club/
// @updateURL https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a/raw/ourbits.js
// @expire 604800e3
// @domain ourbits.club
// ==/UserScript==
const endpoint = 'https://ourbits.club/';
exports.run = async function(param) {
const { status, data } = await axios.get(`${endpoint}attendance.php`);
if (status != 200) throw '访问失败';
if (//.test(data)) throw '未登录';
const re = / <b>(\d+)<.+?(\d+)/;
if (!re.test(data)) return '今日已签';
const [_, days, points] = data.match(re);
return `+${points} (${days}天)`;
};
exports.check = async function(param) {
var { data } = await axios.get(`${endpoint}index.php`);
return //.test(data);
};
// ==UserScript==
// @name SoulVoice
// @namespace https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a
// @version 2.1.2
// @author janlay
// @loginURL https://pt.soulvoice.club/
// @updateURL https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a/raw/soulvoice.js
// @expire 604800e3
// @domain pt.soulvoice.club
// ==/UserScript==
const endpoint = 'https://pt.soulvoice.club/';
exports.run = async function(param) {
const { status, data } = await axios.get(`${endpoint}attendance.php`);
if (status != 200) throw '访问失败';
if (//.test(data)) throw '未登录';
const re = / <b>(\d+)<.+?(\d+)/;
if (!re.test(data)) return '今日已签';
const [_, days, points] = data.match(re);
return `+${points} (${days}天)`;
};
exports.check = async function(param) {
var { data } = await axios.get(`${endpoint}index.php`);
return //.test(data);
};
// ==UserScript==
// @name TCCF
// @namespace https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a
// @version 2.0.1
// @author janlay
// @loginURL https://et8.org/
// @updateURL https://gist.github.com/janlay/d2e136be5940348bb7aee4d9c6b87b5a/raw/tccf.js
// @expire 604800e3
// @domain et8.org
// ==/UserScript==
const endpoint = 'https://et8.org/';
exports.run = exports.check = async function(param) {
var { data } = await axios.get(`${endpoint}index.php`);
return //.test(data);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment