Last active
May 24, 2024 22:17
-
-
Save jaydorsey/d1c54ef5fa48668833851423341fbf6f to your computer and use it in GitHub Desktop.
Tampermonkey script to sisable the Github automatic list completion behavior
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Disable Github List Completion | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Disables the behavior described in https://github.blog/changelog/2020-12-15-markdown-list-syntax-now-autocompleted/ | |
// @author Jay Dorsey | |
// @match https://*.github.com/* | |
// @grant window.focus | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.querySelectorAll('.js-task-list-field').forEach(el => { el.classList.remove('js-task-list-field') }); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This doesn't always work. Here's an updated script that's more robust (courtesy of ChatGPT):