A vanilla JavaScript cheat for JKLM.fun with support for discrete mode.
To use No-fun JKLM, paste the code into the browser console when inside a Bomb Party lobby. This must be done AFTER right-clicking and clicking Inspect element in the middle of the game screen. This is due to how the DOM in JKLM is rendered. A small control panel will present itself after the script is run.
To get a new word in the placeholder, press CTRL (Control).
In cheat.js, Discrete mode enables autotyped answers with convincingly random intervals. This version is buggy when it comes to selecting new/alternate words.
In cheat2.js, Discrete mode shows a placeholder. Any letters that do not fit into the selected word will be automatically replaced with the chosen word. If you wish to disable this autocorrecting feature, simply comment out or remove the following section.
inputElement.addEventListener("input", function(event) {
const inputValue = inputElement.value;
const placeholderValue = inputElement.placeholder;
const caretPosition = inputElement.selectionStart;
if (caretPosition <= placeholderValue.length) {
if (inputValue[caretPosition - 1] !== placeholderValue[caretPosition - 1]) {
const correctedValue = inputValue.substring(0, caretPosition - 1) +
placeholderValue[caretPosition - 1] +
inputValue.substring(caretPosition);
inputElement.value = correctedValue;
inputElement.setSelectionRange(caretPosition, caretPosition);
}
}
if (caretPosition > placeholderValue.length) {
inputElement.value = placeholderValue;
}
});