D
Deleted member 481
Guest
Wow, this helps on a lot of hits, nice!Code:// ==UserScript== // @author ZSMTurker // @name ZSMTurker's Larger Radio Buttons and Checkboxes // @namespace https://greasyfork.org/users/2291 // @description Makes radio buttons and checkboxes larger. Applies to every webpage // so turn it off if you don't need it, it can slow things down. // @match http://*/* // @match https://*/* // @require http://code.jquery.com/jquery-latest.min.js // @version 0.1 // ==/UserScript== /* Function that injects CSS rules */ function injectStyles( rule ) { var div = $( '<div />', { html: '­<style>' + rule + '</style>' } ).appendTo( 'body' ); } /*Individual calls to add styles */ injectStyles( 'input[type=radio] { display:inline-block; width: 1.5em; height: 1.5em; vertical-align: center }' ); injectStyles( 'input[type=checkbox] { display:inline-block; width: 1.5em; height: 1.5em; vertical-align: center }' );