We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33cfe4e commit a1f13acCopy full SHA for a1f13ac
tsdmAutoSignAndWork.user.js
@@ -8,11 +8,12 @@
8
// @noframes
9
// ==/UserScript==
10
11
-let { signed = '0', worked = '0' } = localStorage;
12
-let action = {};
+let signed = localStorage.getItem('signed') | 0;
+let worked = localStorage.getItem('worked') | 0;
13
let today = new Date();
14
let date = today.getFullYear() + today.getMonth() + today.getDate();
15
let now = today.getTime();
16
+let action = {};
17
let [e_work, e_sign] = document.querySelectorAll('#mn_Nfded_menu > li > a');
18
19
if (location.pathname === '/forum.php' && document.getElementById('tsdm_newpm')) {
0 commit comments