Untitled
unknown
plain_text
2 years ago
1.5 kB
4
Indexable
// ==UserScript== // @name Exit Bots Script // @namespace http://tamamlanmamis-namespace.com/ // @version 0.1 // @description Exit Bots Script // @author You // @match *://*/*?__cpo=aHR0cHM6Ly9nYXJ0aWMuaW8 // @grant window.close // ==/UserScript== (function() { 'use strict'; // "Exit Bots" butonuna tıklanınca çağrılacak fonksiyon function exitBots() { // "exit" id'li butonu bul ve tıkla var exitButton = document.getElementById('exit'); if (exitButton) { exitButton.click(); // Sayfayı kapat if (window.close) { window.close(); } else { console.error("Tarayıcı sayfa kapatma işlemini desteklemiyor."); } } } // "Exit Bots" butonunu oluştur function createExitButton() { var exitButton = document.createElement('button'); exitButton.textContent = 'Exit Bots'; exitButton.id = 'exitto'; exitButton.style.position = 'fixed'; exitButton.style.top = '100px'; exitButton.style.left = '10px'; exitButton.style.zIndex = '9999'; // "Exit Bots" butonuna tıklanınca exitBots fonksiyonunu çağır exitButton.addEventListener('click', exitBots); // Sayfaya butonu ekle document.body.appendChild(exitButton); } // Sayfa yüklendiğinde "Exit Bots" butonunu oluştur window.addEventListener('load', createExitButton); })();
Editor is loading...
Leave a Comment