Skip to content

Instantly share code, notes, and snippets.

@critical-bug
critical-bug / mlratio.user.js
Last active December 27, 2015 09:09
ニコニコ動画でプレーヤー下部のプレイリストに各動画のマイリス率を表示する userscript。Chrome で動く版。
// ==UserScript==
// @license magnet:?xt=urn:btih:5305d91886084f776adcf57509a648432709a7c7&dn=x11.txt
// @name mlratio
// @description put Mylist ratio (= # of lists the video saved / # of video views) in playlist
// @namespace http://twitter.com/criticabug
// @include http://www.nicovideo.jp/watch/*
// @grant none
// @run-at document-end
// @version 1.10
// ==/UserScript==
@critical-bug
critical-bug / go_console_after_trigger.user.js
Created September 15, 2011 03:14
userscript working with Jenkins, navigates to the console after triggered a build of the job.
// ==UserScript==
// @name go console after trigger
// @description [Jenkins] Go to the console after triggered a build of the job.
// @include http://*:8080/*/job/*/
// @include http://*:8080/job/*/
// ==/UserScript==
var jobUrl = unsafeWindow.location.href;
var referrer = unsafeWindow.document.referrer;
if (referrer.indexOf(jobUrl + "build") == 0) {
// ==UserScript==
// @name always search options
// @namespace http://entrance.cjb.net
// @description enables search options of target time range and languages
// @include http://www.google.com/*
// @include http://www.google.co.jp/*
// ==/UserScript==
(function(){