Fix HKG Top-right button in "newweb" interface

Just move notification box to Bottom-left to fix the Top-right button problem

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Fix HKG Top-right button in "newweb" interface
// @namespace    https://greasyfork.org/users/1006-peach
// @version      0.3
// @description  Just move notification box to Bottom-left to fix the Top-right button problem
// @homepageURL  https://greasyfork.org/users/1006-peach
// @author       Peach
// @match        https://forum.hkgolden.com/*
// @run-at       document-start
// @grant        none
// @license      MIT
// ==/UserScript==

(function()
{
    var head = document.head || document.getElementsByTagName("head")[0];
    head.appendChild(document.createElement('style')).appendChild(document.createTextNode('.MuiSnackbarContent-message>div>div{display:inline-block!important;padding-right:6px;}.MuiSnackbar-root{top:unset!important;right:unset!important;bottom:0px!important;left:0px!important;}.MuiSnackbarContent-root{padding:0px 16px!important;line-height:1!important;}'));
})();