Fix HKG Top-right button in "newweb" interface

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

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