Greasy Fork is available in English.

New Userscript

1-shot sword

// ==UserScript==
// @name         New Userscript
// @namespace    http://tampermonkey.net/
// @version      2024-04-04
// @description  1-shot sword
// @author       You
// @match        https://poki.com/en/g/sword-masters
// @icon         https://www.google.com/s2/favicons?sz=64&domain=google.com
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // (function() {
    const swords = document.querySelectorAll('.sword');
    swords.forEach(sword => sword.onclick = function() {
        this.style.display = 'none';
    });

})();