Skip to content

Instantly share code, notes, and snippets.

@dclamage
dclamage / sudokupad-pagemaker.user.js
Last active January 20, 2024 10:50
Allows the use of the "Page Marker" extension with SudokuPad
// ==UserScript==
// @name SudokuPad Page Marker Compatibility
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Allows the use of the Page Marker Chrome extension with SudokuPad
// @author Rangsk
// @match *://sudokupad.app/*
// @match *://beta.sudokupad.app/*
// @grant none
// ==/UserScript==
@dclamage
dclamage / redirect-ctc-to-sudokupad.user.js
Last active July 14, 2022 00:27
Redirect crackingthecryptic to sudokupad
// ==UserScript==
// @name Redirect crackingthecryptic to sudokupad
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Redirects crackingthecryptic puzzle URLs to sudokupad
// @author Rangsk
// @match *://app.crackingthecryptic.com/sudoku/*
// @match *://test.crackingthecryptic.com/sudoku/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @run-at document-start
@dclamage
dclamage / wordledaynumber.user.js
Last active August 9, 2023 09:13
Add the day number to the Wordle title.
// ==UserScript==
// @name Wordle Day Number
// @namespace http://tampermonkey.net/
// @version 0.5
// @description Add the day number to the Wordle title.
// @author Rangsk
// @match https://www.nytimes.com/games/wordle/index.html
// @icon https://www.google.com/s2/favicons?sz=64&domain=nytimes.com
// @grant none
// ==/UserScript==
@dclamage
dclamage / ImExGivens.user.js
Created October 27, 2021 02:15
Modifies the "New Grid" popup to include an entry to paste a string of givens.
// ==UserScript==
// @name Fpuzzles-ImExGivens
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Modifies the "New Grid" popup to include an entry to paste a string of givens.
// Only valid digits that can be placed in the grid (based on the size) will be placed,
// any other character will be ignored.
// Supports sizes 10+ as well, using the characters (upper and lower case) A, B, ...G to
// represent 10, 11, ...16 respectively.
// Export current givens by running the exportGivens() command in the console.
@dclamage
dclamage / fpuzzles-solution.user.js
Last active January 29, 2023 22:03
Allows setters to specify a solution to the puzzle, which is checked in solve mode when the final digit is entered.
// ==UserScript==
// @name Fpuzzles-Solution
// @namespace http://tampermonkey.net/
// @version 2.1
// @description Can input a solution to a puzzle, with a custom message for a correct solve.
// @author Rangsk, Charlie
// @match https://*.f-puzzles.com/*
// @match https://f-puzzles.com/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
@dclamage
dclamage / fpuzzles-jsoneditor.user.js
Last active April 26, 2023 22:48
Allows direct editing of the f-puzzles json data
// ==UserScript==
// @name Fpuzzles-JSONEditor
// @namespace http://tampermonkey.net/
// @version 1.4
// @description Allows direct editing of the f-puzzles json data
// @author Rangsk
// @match https://*.f-puzzles.com/*
// @match https://f-puzzles.com/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @require https://dclamage.github.io/jsoneditor/jsoneditor.min.js
@dclamage
dclamage / fpuzzles-bluevalues.js
Last active January 3, 2022 04:52
Changes non-given values to be blue.
// ==UserScript==
// @name Fpuzzles-BlueValues
// @namespace http://tampermonkey.net/
// @version 1.7
// @description Changes non-given values to be blue.
// @author Rangsk
// @match https://*.f-puzzles.com/*
// @match https://f-puzzles.com/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
@dclamage
dclamage / fpuzzles-cpu.js
Last active November 6, 2022 20:00
Prevents re-drawing when inactive to save CPU.
// ==UserScript==
// @name Fpuzzles-cpu
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Prevents re-drawing when inactive to save CPU.
// @author Rangsk
// @match https://*.f-puzzles.com/*
// @match https://f-puzzles.com/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
@dclamage
dclamage / fpuzzles-newconstraints.js
Last active May 25, 2024 17:34
Adds more constraints to f-puzzles.
// ==UserScript==
// @name Fpuzzles-NewConstraints
// @namespace http://tampermonkey.net/
// @version 1.9
// @description Adds more constraints to f-puzzles.
// @author Rangsk
// @match https://*.f-puzzles.com/*
// @match https://f-puzzles.com/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
@dclamage
dclamage / puzzlink.js
Created June 15, 2021 03:17
Adds puzz.link buttons to the database