flappybird.io CHEAT

Directly post any score to the leaderboard

  1. // ==UserScript==
  2. // @name flappybird.io CHEAT
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-10-05
  5. // @description Directly post any score to the leaderboard
  6. // @license MIT
  7. // @author Doesn't matter
  8. // @match https://flappybird.io/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=flappybird.io
  10. // @grant GM_xmlhttpRequest
  11. // @grant GM_openInTab
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16.  
  17. // Create container for inputs and buttons
  18. const container = document.createElement('div');
  19. container.style.position = 'fixed';
  20. container.style.top = '50%';
  21. container.style.right = '10px';
  22. container.style.transform = 'translateY(-50%)';
  23. container.style.zIndex = '1000';
  24.  
  25. // Input for changing count
  26. const inputCount = document.createElement('input');
  27. inputCount.type = 'number';
  28. inputCount.placeholder = 'Change count';
  29. container.appendChild(inputCount);
  30.  
  31. // Button to change count
  32. const changeCountButton = document.createElement('button');
  33. changeCountButton.textContent = 'CHANGE COUNT';
  34. container.appendChild(changeCountButton);
  35.  
  36. document.body.appendChild(container);
  37.  
  38. // Event listener for changing count
  39. changeCountButton.addEventListener('click', () => {
  40. const newCount = inputCount.value;
  41.  
  42. if (!newCount) {
  43. alert('Please enter a count value.');
  44. return;
  45. }
  46.  
  47. // Simulate typing the new count into the console
  48. const script = document.createElement('script');
  49. script.textContent = `counter.text = ${newCount};`;
  50. document.body.appendChild(script);
  51. document.body.removeChild(script); // Remove the script after execution
  52.  
  53. alert(`Count changed to: ${newCount}`);
  54. });
  55. })();