Skip to content

Instantly share code, notes, and snippets.

@Muratam
Last active February 26, 2022 06:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Muratam/567c5a00550947609d0aa877d282e452 to your computer and use it in GitHub Desktop.
Save Muratam/567c5a00550947609d0aa877d282e452 to your computer and use it in GitHub Desktop.
mahjong handle.js
// ==UserScript==
// @name Fix Mahjong Handle
// @namespace fmh
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://mahjong-handle.update.sh/
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com
// @grant none
// ==/UserScript==
(function() {
let i = 0;
Date.now = () => {
return new Date('February 2, 2022 00:00:00').valueOf() + 86400000 * i
};
window.localStorage.setItem("gameState", ``);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment