Fix HKG Top-right button in "newweb" interface

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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;}'));
})();