24
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
// AniDB-Site- | // AniDB-Site-Enhancements: Decimal Vote | ||
// - Replace vote-dropdowns with textfields (enter integers from 100 to 1000) | // - Replace vote-dropdowns with textfields (enter integers from 100 to 1000) | ||
// | // | ||
// Version | // Version 20051204.01 | ||
// works with FF1.5 and greasemonkey 0.6.4 | |||
// Copyright (c) 2005, Lupin III. | // Copyright (c) 2005, Lupin III. | ||
// Released under the GPL license | // Released under the GPL license | ||
Line 10: | Line 11: | ||
// | // | ||
// ==UserScript== | // ==UserScript== | ||
// @name AniDB-Site-Enhancer | // @name AniDB-Site-Enhancer | ||
// @namespace lupin_sanseis_scripts | // @namespace lupin_sanseis_scripts | ||
// @description replaces vote dropdowns with textfields | // @description replaces vote dropdowns with textfields | ||
Line 17: | Line 18: | ||
(function() { | (function() { | ||
// 2D-array containing all the checkbox names corresponding to a group | |||
checkbox_names = new Object(); | |||
function initialize() { | function initialize() { | ||
// use '//' to disable unwanted functions | |||
decimal_vote(); | decimal_vote(); | ||
} | } | ||
Line 37: | Line 42: | ||
window.addEventListener("load", initialize(), false); | window.addEventListener("load", initialize(), false); | ||
})();</pre> | })(); </pre> |
edits