flappybird.io CHEAT

Directly post any score to the leaderboard

目前為 2024-10-05 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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}`);
    });
})();