{"id":19602283,"url":"https://github.com/feenix100/anti_user_button","last_synced_at":"2026-06-13T17:31:44.974Z","repository":{"id":223056280,"uuid":"759202563","full_name":"feenix100/anti_user_button","owner":"feenix100","description":"Code that creates a button that can never be clicked on","archived":false,"fork":false,"pushed_at":"2025-08-29T03:05:01.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-29T05:28:45.072Z","etag":null,"topics":["unclickable","unclickable-button"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feenix100.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-17T23:31:03.000Z","updated_at":"2025-08-29T03:05:04.000Z","dependencies_parsed_at":"2024-02-18T00:26:14.450Z","dependency_job_id":"5c2e1a5e-1c4b-4337-9edd-3dc711be1f75","html_url":"https://github.com/feenix100/anti_user_button","commit_stats":null,"previous_names":["feenix100/chatgptbutton","feenix100/anti_user_button"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/feenix100/anti_user_button","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenix100%2Fanti_user_button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenix100%2Fanti_user_button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenix100%2Fanti_user_button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenix100%2Fanti_user_button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feenix100","download_url":"https://codeload.github.com/feenix100/anti_user_button/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenix100%2Fanti_user_button/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34294408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["unclickable","unclickable-button"],"created_at":"2024-11-11T09:23:25.461Z","updated_at":"2026-06-13T17:31:44.960Z","avatar_url":"https://github.com/feenix100.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Anti-User Button\r\n\r\n### Overview\r\n\r\nThis project showcases an innovative implementation of a button that moves away from the cursor constantly, using various programming languages, this code was created with the assistance of ChatGPT 3.5.\r\n\r\n### Demo\r\n\r\n- **HTML Version**: Open `button.html` in a browser to see the high-speed button in action.\r\n\r\n### Additional Implementations\r\n\r\n- **Excel Version**: A fun version that can be embedded in a Microsoft Excel spreadsheet.\r\n- **Multi-Language Support**: Code snippets available for several other languages to achieve the same unclickable button effect.\r\n\r\n### Python Implementation\r\n\r\nThe Python script displays a button in a window that continuously moves away, making it impossible to click.\r\n\r\n### Development Journey\r\n\r\nI spent a few hours collaborating with ChatGPT, iterating through multiple versions before finalizing the script. After generating the Python script, I used ChatGPT to rewrite it in HTML/JavaScript and several other languages. Rewriting the code in other programming languages only took a few minutes.\r\nThe code was generated with the help of ChatGPT 3.5 -Free Version - 2024.\r\n\r\n---\r\n\r\n```html\r\n\u003c!-- button.html --\u003e\r\n\u003c!DOCTYPE html\u003e\r\n\u003chtml lang=\"en\"\u003e\r\n\u003chead\u003e\r\n    \u003cmeta charset=\"UTF-8\"\u003e\r\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\r\n    \u003ctitle\u003eUnclickable Button\u003c/title\u003e\r\n    \u003cstyle\u003e\r\n        #button {\r\n            position: absolute;\r\n            top: 50%;\r\n            left: 50%;\r\n            transform: translate(-50%, -50%);\r\n        }\r\n    \u003c/style\u003e\r\n\u003c/head\u003e\r\n\u003cbody\u003e\r\n    \u003cbutton id=\"button\" onclick=\"alert('You clicked me!')\"\u003eClick Me!\u003c/button\u003e\r\n    \u003cscript\u003e\r\n        const button = document.getElementById('button');\r\n        button.addEventListener('mouseover', () =\u003e {\r\n            const x = Math.random() * (window.innerWidth - button.clientWidth);\r\n            const y = Math.random() * (window.innerHeight - button.clientHeight);\r\n            button.style.left = `${x}px`;\r\n            button.style.top = `${y}px`;\r\n        });\r\n    \u003c/script\u003e\r\n\u003c/body\u003e\r\n\u003c/html\u003e\r\n```\r\n\r\n### Python Code Snippet\r\n\r\n```python\r\nimport tkinter as tk\r\nimport random\r\n\r\ndef move_button():\r\n    button.place(x=random.randint(0, window.winfo_width() - button.winfo_width()),\r\n                 y=random.randint(0, window.winfo_height() - button.winfo_height()))\r\n\r\nwindow = tk.Tk()\r\nwindow.title(\"Unclickable Button\")\r\nwindow.geometry(\"300x300\")\r\n\r\nbutton = tk.Button(window, text=\"Click Me!\")\r\nbutton.place(x=100, y=100)\r\nbutton.bind(\"\u003cEnter\u003e\", lambda e: move_button())\r\n\r\nwindow.mainloop()\r\n```\r\n\r\nExplore and enjoy the unclickable button in various environments!\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeenix100%2Fanti_user_button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeenix100%2Fanti_user_button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeenix100%2Fanti_user_button/lists"}