Skip to content

Instantly share code, notes, and snippets.

View landor's full-sized avatar

Landor landor

  • Northfield, MA
View GitHub Profile
@landor
landor / SplitwiseEnhancements.js
Last active March 18, 2023 19:05
ViolentMonkey script for Splitwise UI enhancement
// ==UserScript==
// @name Splitwise quick add enhancements
// @namespace Violentmonkey Scripts
// @match *://*.splitwise.com/*
// @grant GM_addStyle
// @version 1.0
// @author Landor!
// @description 2/19/2022, 11:26:25 AM
// @run-at document-idle
// @downloadURL https://gist.githubusercontent.com/landor/018ac12e959c302c32fe32db31319edb/raw/SplitwiseEnhancements.js
@landor
landor / formstack.css
Created May 25, 2017 17:18
formstack css
/* radio button selections */
fieldset#label52982679 label.fsOptionLabel.horizontal {
/* default state */
background-color: #595959;
color:#ffffff;
border-radius:5px;
cursor: pointer;
}
fieldset#label52982679 label.fsOptionLabel.horizontal:hover {
/* default+hover state */
@landor
landor / formstack_helpers.js
Last active May 25, 2017 17:52
formstack javascript helpers
/**
* add "selected" class to currently selected radio button per fieldset
* this will isolate to individual fieldsets so their selected states are separete
*/
jQuery(document).ready(function($){
// selector for fieldset
// change this to "fieldset#labelXXXXX" to make it apply only to specific fieldsets
var fs_selector = 'fieldset';
// callback function to do the work