Skip to content

Instantly share code, notes, and snippets.

View jamiechapman's full-sized avatar
:shipit:

Jamie Chapman jamiechapman

:shipit:
View GitHub Profile
@steipete
steipete / windsurf-auto-continue.js
Last active July 12, 2025 03:41
Windsurf Auto Continue press button JS. Windsurf Menu Help -> Toggle Developer Tools -> Paste into Console.
// Windsurf Auto Press Continue v13.2 (with added logging)
(() => {
const SCRIPT_NAME = 'Windsurf Auto Press Continue v13.2 (logged)'; // Updated name for clarity
let intervalId = null, lastClick = 0;
// --- Config ---
const BTN_SELECTORS = 'span[class*="bg-ide-button-secondary-background"]';
const BTN_TEXT_STARTS_WITH = 'continue';
const SIDEBAR_SELECTOR = null;
const COOLDOWN_MS = 3000;
@deanmcpherson
deanmcpherson / super.js
Last active February 12, 2024 20:12
super quick and dirty code embed support
//<script>
function clearBlock(el) {
const node = el.parentElement.parentElement;
node.innerHTML = '';
return node;
}
const SELECTOR = 'code:not([super-embed-seen])';
function setupEmbeds() {
@williewillus
williewillus / grammar.js
Last active November 4, 2017 15:08
loot table grammar
{
"pools": [ <lootpool> ... ] // Every pool is queried by the table the number of times specified in "rolls"
}
-------------
<lootpool> == {
"name": <autogenerated for vanilla pools | table-unique name for this pool>
"conditions": [ <lootcondition> ... ],
"rolls": <randomvaluerange>