Skip to content

Instantly share code, notes, and snippets.

@biuuu
biuuu / blhx.user.js
Last active May 29, 2023 16:24
一些小功能
// ==UserScript==
// @name 碧蓝幻想小工具
// @namespace https://gist.github.com/biuuu
// @version 0.1.2
// @description 无
// @icon http://game.granbluefantasy.jp/favicon.ico
// @author biuuu
// @match *://game.granbluefantasy.jp/*
// @match *://gbf.game.mbga.jp/*
// @run-at document-body
@biuuu
biuuu / README.md
Last active May 20, 2023 05:52 — forked from MadeBaruna/README.md
获取原神抽卡记录URL
// ==UserScript==
// @name 自动复制救援码
// @namespace https://gist.github.com/biuuu
// @version 0.7
// @description 自动复制最左边第一个救援码,调整顺序后刷新网页生效
// @author biuuu
// @include /^https?:\/\/gbf\.life.*$/
// @include /^https?:\/\/gbs\.eriri\.net.*$/
// @include /^https?:\/\/eriri\.net\/gbs.*$/
// @include /^https?:\/\/.+-raidfinder\.herokuapp\.com.*$/
@biuuu
biuuu / bilibili-wide-screen.user.js
Last active March 21, 2022 07:36
保持bilibili播放器宽屏模式
// ==UserScript==
// @name Bilibili宽屏模式On
// @namespace https://gist.github.com/biuuu/
// @match https://www.bilibili.com/*
// @grant none
// @version 1.3
// @author biuuu
// @run-at document-end
// @description 保持bilibili播放器宽屏模式
// ==/UserScript==
@biuuu
biuuu / data2CSV.js
Last active May 10, 2021 15:18
闪耀色彩剧情转CSV
import CSV from 'papaparse'
const trim = (str) => {
if (!str) return ''
let _str = str.replace(/[\u0020]+$/g, '')
return _str.replace(/^[\u0020]+/g, '')
}
const replaceWrap = (text) => {
if (typeof text === 'string') {
@biuuu
biuuu / resize-shinycolors.js
Created December 29, 2020 03:33
把闪耀色彩的窗口缩放到合适的尺寸
function start (tw, th) {
const resizeCount = 10
const resize = () => {
let ih = window.outerHeight
let iw = window.outerWidth
const h = document.body.clientHeight
const w = document.body.clientWidth
const oh = th - h
const ow = tw - w
@biuuu
biuuu / gbf-sticker.js
Last active July 24, 2019 04:21
给NGA论坛添加碧蓝幻想表情包
// ==UserScript==
// @name NGA论坛碧蓝幻想表情包
// @namespace https://gist.github.com/biuuu
// @version 0.0.6
// @description 果てしない空の彼方 煌めく星たちの記憶
// @author 露莉亚
// @match *://bbs.ngacn.cc/post.php*
// @match *://ngabbs.com/post.php*
// @match *://nga.178.com/post.php*
// @match *://bbs.nga.cn/post.php*
@biuuu
biuuu / pageFullscreen.user.js
Last active October 10, 2018 09:48
anime1.me的窗口全屏用户脚本
// ==UserScript==
// @name anime1.me网页全屏
// @namespace https://gist.github.com/biuuu/dcfdb0d561ea12f12d0912cada5ce121
// @version 0.1.1
// @description 123
// @icon https://anime1.me/favicon.ico
// @author biuuu
// @match https://anime1.me/*
// @run-at document-end
// @grant none
@biuuu
biuuu / cloudSettings
Last active May 19, 2018 02:18
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-05-09T08:33:24.334Z","extensionVersion":"v2.9.2"}
@biuuu
biuuu / parseResult.js
Last active January 18, 2018 02:45
网易云音乐海外IP搜索结果解码片段
var k5p = {}
function cuu5z() {
var AR5W = function(hW9N) {
if (hW9N < -128) {
return AR5W(128 - (-128 - hW9N))
} else if (hW9N >= -128 && hW9N <= 127) {
return hW9N
} else if (hW9N > 127) {
return AR5W(-129 + hW9N - 127)