Scripts:Animepage:Sourcecode3: Difference between revisions

no edit summary
No edit summary
 
No edit summary
Line 1: Line 1:
<pre>
<pre>
// AniDB-Site-Enhancer-DecimalVote
// 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 20050809.02
// 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-DecimalVote
// @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>
24

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.