No Globe Button

Completely removes the GlobeButton button from the DOM.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         No Globe Button
// @namespace    http://tampermonkey.net/
// @version      1.4
// @description  Completely removes the GlobeButton button from the DOM.
// @author       Pixel Berg
// @match        https://pixelplanet.fun/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // GlobeButton'ı tamamen DOM'dan kaldıran fonksiyon
    const removeGlobeButton = () => {
        const globeButton = document.getElementById('globebutton');
        if (globeButton) {
            globeButton.remove(); // GlobeButton'ı tamamen DOM'dan kaldır
            console.log('GlobeButton DOM\'dan kaldırıldı.');
        }
    };

    // Sayfa yüklendiğinde butonu kaldır
    window.addEventListener('load', () => {
        // Butonu hemen kaldır
        removeGlobeButton();

        // Dinamik içerik için DOM değişikliklerini izle
        const observer = new MutationObserver(removeGlobeButton);
        observer.observe(document.body, { childList: true, subtree: true });
    });
})();