Fix HKG Top-right button in "newweb" interface

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

目前为 2024-06-16 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Fix HKG Top-right button in "newweb" interface
  3. // @namespace https://greasyfork.org/users/1006-peach
  4. // @version 0.3
  5. // @description Just move notification box to Bottom-left to fix the Top-right button problem
  6. // @homepageURL https://greasyfork.org/users/1006-peach
  7. // @author Peach
  8. // @match https://forum.hkgolden.com/*
  9. // @run-at document-start
  10. // @grant none
  11. // @license MIT
  12. // ==/UserScript==
  13.  
  14. (function()
  15. {
  16. var head = document.head || document.getElementsByTagName("head")[0];
  17. 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;}'));
  18. })();