-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdecensor.js
More file actions
34 lines (31 loc) · 1.08 KB
/
decensor.js
File metadata and controls
34 lines (31 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// ==UserScript==
// @name Riichi-Oh: The Story of Riichi
// @namespace NyaggerSquad
// @icon https://i.imgur.com/tKWKjza.jpg
// @version 1.0
// @description You're all free now!
// @author anon
// @include https://mahjongsoul.game.yo-star.com/
// @include https://game.mahjongsoul.com/
// @include https://game.maj-soul.com/1/
// ==/UserScript==
(function() {
'use strict';
const COWARD = false;
var LazyCheck = setInterval(function(){
if (GameMgr.prototype.EnterLobby){
GameMgr.prototype.EnterLobby = (function() {
var cacheF = GameMgr.prototype.EnterLobby;
return function(){
if (COWARD)
app.Taboo.test = (a) => null;
else
game.Tools.strWithoutForbidden = (a) => a;
var result = cacheF.apply(this, arguments);
return result;
};
})();
clearInterval(LazyCheck);
}
},2000);
})();