no tip

iyugyuigiu

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.cn-greasyfork.org/scripts/519302/1493676/no%20tip.js

  1. // ==UserScript==
  2. // @name no tip
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-11-29
  5. // @description iyugyuigiu
  6. // @author You
  7. // @include https://mahjongsoul.game.yo-star.com/
  8. // @include https://game.mahjongsoul.com/
  9. // @include https://majsoul.union-game.com/0/
  10. // @icon https://www.google.com/s2/favicons?sz=64&domain=undefined.
  11. // @grant none
  12. // @license GPL-3.0
  13. // ==/UserScript==
  14.  
  15. if (game) {
  16. const backupFun = view.DesktopMgr.prototype.initRoom
  17. view.DesktopMgr.prototype.initRoom = function(...args) {
  18. try {
  19. args[0].mode.detail_rule.bianjietishi = false
  20. } catch (e) {
  21. console.warn(e)
  22. }
  23. return backupFun.call(this, ...args)
  24. }
  25. }