Skip to content

Instantly share code, notes, and snippets.

@linusyu
linusyu / dabblet.css
Created December 19, 2012 15:03
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #a238db;
linound: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
{
"exhentai.org":[".ptb td a",".gdtm a","#img"],
"yande.re":[".pagination a",".thumb","#image"],
"konachan.com":[".pagination a",".thumb","#image"],
"danbooru.donmai.us":[".paginator a","#posts article a","#image"],
"ttt.gelbooru.com":[".pagination a",".thumb a","#image"]
}
@linusyu
linusyu / xiami.user.js
Last active August 29, 2015 14:01
虾米猜显示歌曲评论。
// ==UserScript==
// @name xiamia
// @namespace http://www.xiami.com/
// @include http://www.xiami.com/radio/play/*
// @version 1
// @grant none
// ==/UserScript==
;(function($){
var wl = $("#radio_wall");
wl.html("<img src='http://img.xiami.net/res/img/default/loading.gif'>");
@linusyu
linusyu / Tieba Client.user.js
Last active August 26, 2017 00:53
Tieba Client 0.9
// ==UserScript==
// @name Tieba Client
// @namespace http://tieba.baidu.com
// @include http://tieba.baidu.com/*
// @downloadURL https://userscripts.org/scripts/source/177032.user.js
// @icon http://imgsrc.baidu.com/forum/pic/item/8a65d04bd11373f0075bca22a60f4bfbfaed04c9.jpg
// @require http://libs.baidu.com/jquery/2.0.0/jquery.min.js
// @grant GM_xmlhttpRequest
// @author 网络中二行客
// @version 0.9
// ==UserScript==
// @name Tieba Sex
// @namespace http://tieba.baidu.com
// @include http://tieba.baidu.com/p/*
// @version 1
// @grant none
// ==/UserScript==
;(function($){
var cssText ='\
@linusyu
linusyu / Super Bawu.user.js
Last active August 29, 2015 14:06
Super Bawu
// ==UserScript==
// @name Super Bawu
// @namespace http://tieba.baidu.com
// @include http://tieba.baidu.com/bawu2/*
// @exclude http://tieba.baidu.com/bawu2/platform/listBlackUser*
// @exclude http://tieba.baidu.com/bawu2/platform/listBawuDel*
// @version 1.3
// @description 吧务拉黑封禁功能增强
// @grant none
// ==/UserScript==
@linusyu
linusyu / 163Music.xml
Created October 20, 2014 06:01
网易云音乐 SearchPlugin
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>163 Music</ShortName>
<Description>163 Music</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAABMLAAATCwAAAAAAAAAAAAAAANQGBQXokQUF6O4GBur/Bgbq/wYG6v8GBur/Bgbq/wYG6v8GBur/Bgbq/wYG6v8GBur/BQXo7gUF6JEAANQGBQXokAYG6v8GBur/Bgbq/wYG6v83N+7/pKT3///////u7v7/v7/6/2Zm8v8KCur/Bgbq/wYG6v8GBur/BgboiQUF6O0GBur/Bgbq/wcH6v+KivX//v7///f3/v/i4vz/pqb4/+bm/f//////ysr7/xsb7P8GBur/Bgbq/wUF6O0GBur/Bgbq/wYG6v+IiPX//////7Ky+P8fH+z/Bgbq/wYG6v8LC+r/bGzz//n5///Y2Pz/EhLr/wYG6v8GBur/Bgbq/wYG6v82Nu7//f3//7i4+f8JCer/Bgbq/xAQ6/8GBur/Bgbq/wYG6v9fX/H//////4GB9P8GBur/Bgbq/wYG6v8GBur/oKD3//z8//8jI+z/Bgbq/ycn7f//////6ur9/2Bg8v8GBur/Bwfq/9fX/P/Z2fz/Bgbq/wYG6v8GBur/Bgbq/+bm/f/Fxfr/Bgbq/wYG6v/MzPv/+/v//9PT+//8/P//Ly/t/wYG6v+srPj//f3//wYG6v8GBur/Bgbq/wYG6v/+/v//qKj4/wYG6v8bG+z//////52d9/9HR/D//////2lp8v8GBur/wcH6/+vr/f8GBur/Bgbq/wYG6v8GBur/6en9/729+f8GBur/ExP
@linusyu
linusyu / Music163_HTML5_Player.user.js
Created November 25, 2014 13:30
网易云音乐去 Flash 播放
// ==UserScript==
// @name Music 163 without Flash
// @namespace http://loli.com.co
// @include http://music.163.com/*
// @version 1
// @grant none
// @run-at document-start
// ==/UserScript==
(function () {
@linusyu
linusyu / colorfulTab.uc.js
Last active August 29, 2015 14:10
colorfulTab
location.href === 'chrome://browser/content/browser.xul' && (function(){
'use strict';
if(typeof colorfulTab !== "undefined") return;
const canvas = document.createElementNS('http://www.w3.org/1999/xhtml', 'canvas');
document.documentElement.appendChild(canvas);
canvas.width = 16;
canvas.height = 16;
@linusyu
linusyu / replaceTitle.user.js
Created December 3, 2014 03:52
replaceTitle.user.js
// ==UserScript==
// @name Replace Title
// @run-at document-end
// @author 2ke
// @grant none
// @version 1
// @include *
// ==/UserScript==
;(function(){