Skip to content

Instantly share code, notes, and snippets.

@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(){