flappybird.io CHEAT

Directly post any score to the leaderboard

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         flappybird.io CHEAT
// @namespace    http://tampermonkey.net/
// @version      2024-10-05
// @description  Directly post any score to the leaderboard
// @license MIT
// @author       Doesn't matter
// @match        https://flappybird.io/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=flappybird.io
// @grant        GM_xmlhttpRequest
// @grant        GM_openInTab
// ==/UserScript==

(function() {
    'use strict';

    // Create container for inputs and buttons
    const container = document.createElement('div');
    container.style.position = 'fixed';
    container.style.top = '50%';
    container.style.right = '10px';
    container.style.transform = 'translateY(-50%)';
    container.style.zIndex = '1000';

    // Input for changing count
    const inputCount = document.createElement('input');
    inputCount.type = 'number';
    inputCount.placeholder = 'Change count';
    container.appendChild(inputCount);

    // Button to change count
    const changeCountButton = document.createElement('button');
    changeCountButton.textContent = 'CHANGE COUNT';
    container.appendChild(changeCountButton);

    document.body.appendChild(container);

    // Event listener for changing count
    changeCountButton.addEventListener('click', () => {
        const newCount = inputCount.value;

        if (!newCount) {
            alert('Please enter a count value.');
            return;
        }

        // Simulate typing the new count into the console
        const script = document.createElement('script');
        script.textContent = `counter.text = ${newCount};`;
        document.body.appendChild(script);
        document.body.removeChild(script); // Remove the script after execution

        alert(`Count changed to: ${newCount}`);
    });
})();