Forked from DvilMuck/aternosAntiAntiadblock.user.js
Created
November 20, 2022 06:50
-
-
Save dannythehacker/17f3c69ec0a52cd21889af00e439d577 to your computer and use it in GitHub Desktop.
Aternos Anti Anti Adblock userscript for Aternos.org
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Aternos Anti Anti-adblock | |
| // @namespace r0630hh1edcuum5397kimyc0ucwy2h3psn4c6r1u4j | |
| // @version 0.1.11 | |
| // @description Fuck anti-adblock from the free hosting minecraft servers Aternos.org. Parry this you filthy casual! | |
| // @author Angry Developer against excessive ADs | |
| // @source https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a | |
| // @supportURL https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a | |
| // @updateURL https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a/raw/aternosAntiAntiadblock.user.js | |
| // @downloadURL https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a/raw/aternosAntiAntiadblock.user.js | |
| // @match *://aternos.org/* | |
| // @icon https://aternos.org/favicon.ico | |
| // @require https://greasemonkey.github.io/gm4-polyfill/gm4-polyfill.js | |
| // @grant GM_addStyle | |
| // @grant GM.addStyle | |
| // @run-at document-start | |
| // @noframes | |
| // ==/UserScript== | |
| // Sorry for the obfuscated version | |
| /* Changelog | |
| * Fixed restored elements being removed again | |
| * Fixed not properly restoring events when executing from console | |
| * Restore events of buttons | |
| * | |
| * Known issues: | |
| * - Ace editor do not work | |
| * - Elements not updating nor removing after clicking on them (eg. trash bin button) | |
| * - Sometimes events will not be added to elements | |
| */ | |
| 'use strict';const H=F;(function(L,d){const Lh={L:0x11e,d:0x11d},j=F,E=L();while(!![]){try{const b=-parseInt(j(0xed))/(-0x1*0x25f7+0x1*0xfb3+-0x1*-0x1645)*(parseInt(j(0x10a))/(-0x1*-0x2454+-0x207a*-0x1+0x2266*-0x2))+-parseInt(j(0xdc))/(0xc83+0xee3*-0x1+0xd*0x2f)*(-parseInt(j(0x13f))/(0x1*-0xb25+-0x100e+0x1b37))+-parseInt(j(0x196))/(0x38*-0x7a+0xb0f+0xfa6)+-parseInt(j(0x128))/(-0x2544+-0x3f1*0x1+0x293b)*(parseInt(j(0x12e))/(0x221*-0xd+-0xc4b+0x27ff*0x1))+-parseInt(j(Lh.L))/(-0x1*0x125d+0xebb+-0x43*-0xe)+-parseInt(j(0x176))/(-0xabf+-0x583*0x2+0x15ce)*(-parseInt(j(0x16b))/(-0x5*-0x3bf+-0x1*-0x11fc+-0x24ad))+parseInt(j(Lh.d))/(0xd*-0x147+-0x628*0x1+0x16ce)*(parseInt(j(0x1a7))/(0xa59+0x1*0x102b+-0x1a78));if(b===d)break;else E['push'](E['shift']());}catch(a){E['push'](E['shift']());}}}(N,0x7a*-0x1fca+-0x39d1f+0xf44*0x1cb));function F(L,d){const E=N();return F=function(b,a){b=b-(0x2383*0x1+-0x15bf+-0xff*0xd);let c=E[b];return c;},F(L,d);}let V=null,x=null,M=[],v=![];if(typeof unsafeWindow===H(0x1a6)){let u=Element['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x72\x65\x6d\x6f\x76\x65']||CharacterData[H(0xf1)][H(0xd1)]||DocumentType[H(0xf1)][H(0xf1)][H(0xd1)],p=Element[H(0xf1)][H(0x10b)+'\x64']||CharacterData[H(0xf1)][H(0x10b)+'\x64']||DocumentType['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65'][H(0x10b)+'\x64'],B=[H(0x183),H(0x174),H(0x14b),H(0x117),'\x6f\x70\x74\x69\x6f\x6e\x73','\x63\x6f\x6e\x73\x6f\x6c\x65','\x6c\x6f\x67',H(0x134),H(0x169),H(0x16c),'\x66\x69\x6c\x65\x73',H(0x19f),H(0x152),H(0x13b)];function I(){const Lw={L:0x190,d:0x10e,E:0x10d,b:0x16e,a:0x190,c:0x14f,m:0x14f,Q:0x183,W:0x1b0,C:0xeb,K:0x14f,P:0x1bd},J=H,d={};d[J(Lw.L)]=function(b,a){return b===a;},d['\x4d\x59\x65\x59\x46']=J(0xe0),d[J(Lw.d)]=function(b,a){return b===a;},d[J(Lw.E)]=function(b,a){return b!==a;},d[J(0x1b0)]=J(0xe4),d[J(Lw.b)]=function(b,a){return b===a;};const E=d;try{if(E[J(Lw.a)](E[J(0x13e)],J(0x146))){d[J(0x194)]();return;}else{if(!this[J(Lw.c)])return;if(E[J(0x190)](this[J(Lw.m)],document[J(0x183)])||E[J(Lw.d)](this,document[J(Lw.Q)]))return this[J(0x14f)];if(this['\x70\x61\x72\x65\x6e\x74\x4e\x6f\x64\x65']['\x63\x6c\x61\x73\x73\x4e\x61\x6d\x65']){if(B['\x73\x6f\x6d\x65'](a=>this[J(0x14f)][J(0x162)][J(0x17d)](a))){if(E[J(Lw.E)](E[J(Lw.W)],E[J(Lw.W)]))d[J(Lw.C)](-0x3*-0x6e5+-0x300+-0x11af,()=>{});else return this[J(Lw.K)];}}if(E[J(0x16e)](arguments[J(Lw.P)],0xc66+-0x12bf*0x1+0x659))return u[J(0x193)](this);return p['\x61\x70\x70\x6c\x79'](this,arguments);}}catch(c){}}[unsafeWindow[H(0x1a8)][H(0xf1)],unsafeWindow['\x43\x68\x61\x72\x61\x63\x74\x65\x72\x44'+H(0x166)][H(0xf1)],unsafeWindow[H(0x116)+'\x70\x65'][H(0xf1)]][H(0xd5)](Boolean)[H(0x18f)](b=>{const LS={L:0xd1,d:0x1ac,E:0x1b7,b:0x1a9,a:0x11c,c:0x1ac,m:0x100},T=H,a={};a[T(0x11c)]=T(LS.L),a[T(LS.d)]='\x72\x65\x6d\x6f\x76\x65\x43\x68\x69\x6c'+'\x64';const c=a,m={};m['\x6b']=!![],m['\x59']=!![],m[T(LS.E)]=!![],m[T(0xfd)]=I,Object[T(0x15b)+T(LS.b)](b,c[T(LS.a)],m);const Q={};Q['\x6b']=!![],Q['\x59']=!![],Q['\x77\x72\x69\x74\x61\x62\x6c\x65']=!![],Q[T(0xfd)]=I,Object[T(0x15b)+T(LS.b)](b,c[T(LS.c)],Q),Object[T(LS.m)](b);});}function l(d){const LY={L:0x1ae},s=H,E={};E['\x4a\x42\x6e\x67\x68']=function(Q,W){return Q<=W;};const b=E;if(!d)return null;let a=0x197e+0x1a7a+0x33da*-0x1,c=d,m=c[s(LY.L)+s(0x12b)];while(!m['\x69\x64']){if(b[s(0x159)](a,-0xe71*0x1+0x2e*0x92+-0xbcb*0x1))break;a--,c=m,m=m[s(0x1ae)+s(0x12b)];}return m;}function N(){const dz=['\x73\x74\x6f\x70','\x4c\x56\x63\x5a\x74','\x4d\x59\x65\x59\x46','\x32\x34\x32\x35\x32\x34\x30\x4f\x42\x57\x5a\x49\x43','\x57\x6a\x68\x75\x4c','\x69\x62\x6c\x65\x20\x21\x69\x6d\x70\x6f','\x65\x67\x57\x64\x6c','\x5a\x7a\x41\x4b\x74','\x74\x56\x74\x50\x53','\x73\x75\x62\x74\x72\x65\x65','\x47\x44\x66\x67\x75','\x64\x69\x76\x5b\x73\x74\x79\x6c\x65\x5d','\x65\x76\x65\x72\x79','\x73\x74\x79\x6c\x65','\x4b\x62\x77\x69\x52','\x63\x6f\x6e\x74\x65\x6e\x74','\x6d\x53\x55\x6b\x50','\x71\x62\x58\x4e\x49','\x4e\x6b\x69\x6d\x49','\x70\x61\x72\x65\x6e\x74\x4e\x6f\x64\x65','\x78\x4f\x54\x6d\x42','\x66\x65\x67\x42\x51','\x62\x61\x63\x6b\x75\x70','\x49\x46\x52\x41\x4d\x45','\x7a\x43\x7a\x58\x6f','\x63\x6c\x69\x63\x6b','\x7b\x7d\x2e\x63\x6f\x6e\x73\x74\x72\x75','\x72\x65\x61\x64\x79\x73\x74\x61\x74\x65','\x4f\x6d\x6e\x6a\x47','\x4a\x42\x6e\x67\x68','\x43\x6c\x6c\x45\x64','\x64\x65\x66\x69\x6e\x65\x50\x72\x6f\x70','\x72\x74\x61\x6e\x74\x3b\x0a\x09\x09\x09','\x3e\x64\x69\x76\x20\x7b\x0a\x09\x09\x09','\x4d\x76\x52\x6c\x76','\x63\x72\x65\x61\x74\x65\x45\x6c\x65\x6d','\x74\x4b\x6e\x71\x69','\x56\x51\x7a\x76\x72','\x63\x6c\x61\x73\x73\x4e\x61\x6d\x65','\x4d\x62\x67\x61\x55','\x48\x59\x75\x4e\x6f','\x73\x6c\x69\x63\x65','\x61\x74\x61','\x72\x6a\x50\x65\x64','\x72\x65\x74\x75\x72\x6e\x20\x28\x66\x75','\x73\x6f\x66\x74\x77\x61\x72\x65','\x67\x45\x75\x75\x6c','\x33\x30\x4f\x61\x4e\x50\x54\x64','\x70\x6c\x75\x67\x69\x6e','\x23\x73\x74\x61\x72\x74','\x50\x5a\x42\x42\x68','\x71\x79\x6b\x48\x42','\x61\x74\x74\x72\x69\x62\x75\x74\x65\x4e','\x23\x73\x74\x6f\x70','\x74\x72\x61\x63\x65','\x6c\x61\x65\x49\x65','\x6d\x61\x69\x6e','\x68\x69\x64\x64\x65\x6e','\x33\x30\x30\x38\x37\x30\x6c\x66\x46\x53\x58\x56','\x70\x61\x63\x69\x74\x79\x3a\x20\x31\x20','\x20\x68\x69\x64\x64\x65\x6e\x20\x21\x69','\x65\x6f\x67\x62\x74','\x77\x74\x74\x50\x74','\x50\x7a\x70\x4d\x65','\x71\x51\x6d\x57\x63','\x69\x6e\x63\x6c\x75\x64\x65\x73','\x68\x65\x61\x64\x65\x72','\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75','\x6e\x74\x6a\x59\x49','\x74\x61\x6e\x74\x3b\x0a\x09\x09\x09\x6f','\x61\x6d\x65','\x62\x6f\x64\x79','\x76\x44\x78\x51\x51','\x61\x64\x64\x45\x76\x65\x6e\x74\x4c\x69','\x56\x70\x50\x4b\x62','\x50\x63\x64\x50\x6f','\x72\x74\x61\x6e\x74\x3b\x0a\x09\x7d\x0a','\x74\x65\x78\x74\x43\x6f\x6e\x74\x65\x6e','\x63\x68\x61\x6e\x67\x65','\x69\x6c\x74\x65\x72','\x63\x68\x61\x72\x61\x63\x74\x65\x72\x44','\x6c\x75\x59\x64\x7a','\x61\x74\x74\x72\x69\x62\x75\x74\x65\x46','\x66\x6f\x72\x45\x61\x63\x68','\x62\x58\x49\x64\x78','\x6e\x6c\x7a\x4f\x6b','\x43\x79\x54\x45\x57','\x61\x70\x70\x6c\x79','\x64\x69\x73\x63\x6f\x6e\x6e\x65\x63\x74','\x4e\x76\x77\x51\x49','\x31\x30\x33\x33\x37\x37\x30\x63\x76\x77\x75\x73\x48','\x64\x49\x44\x5a\x43','\x68\x4b\x76\x4f\x62','\x6f\x6e\x63\x65','\x4e\x70\x50\x54\x46','\x78\x72\x4c\x6b\x4f','\x44\x4f\x53\x62\x78','\x4c\x76\x67\x54\x41','\x77\x61\x72\x6e','\x77\x6f\x72\x6c\x64','\x4d\x6d\x43\x4b\x4b','\x74\x65\x78\x74\x2f\x63\x73\x73','\x77\x69\x64\x74\x68','\x61\x50\x54\x48\x65','\x61\x66\x65\x77\x74','\x6e\x63\x74\x69\x6f\x6e\x28\x29\x20','\x6f\x62\x6a\x65\x63\x74','\x32\x31\x31\x31\x35\x39\x32\x52\x79\x69\x54\x6a\x52','\x45\x6c\x65\x6d\x65\x6e\x74','\x65\x72\x74\x79','\x73\x6f\x6d\x65','\x6f\x4b\x6e\x6b\x73','\x7a\x61\x63\x62\x4a','\x54\x4b\x6b\x44\x72','\x70\x61\x72\x65\x6e\x74\x45\x6c\x65\x6d','\x51\x4a\x6f\x51\x72','\x4d\x75\x56\x47\x61','\x68\x48\x57\x78\x46','\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65','\x56\x73\x41\x6f\x78','\x79\x50\x6c\x74\x52','\x77\x59\x70\x62\x45','\x34\x7c\x33\x7c\x30\x7c\x31\x7c\x32','\x77\x72\x69\x74\x61\x62\x6c\x65','\x3a\x20\x2d\x31\x20\x21\x69\x6d\x70\x6f','\x0a\x09\x23','\x62\x69\x6e\x64','\x74\x4b\x53\x6a\x69','\x6f\x6e\x65\x20\x21\x69\x6d\x70\x6f\x72','\x6c\x65\x6e\x67\x74\x68','\x72\x65\x6d\x6f\x76\x65','\x54\x42\x55\x70\x4c','\x73\x42\x79\x54\x61\x67\x4e\x61\x6d\x65','\x67\x65\x74\x45\x6c\x65\x6d\x65\x6e\x74','\x66\x69\x6c\x74\x65\x72','\x3b\x0a\x09\x09\x7d','\x74\x47\x45\x53\x71','\x6e\x74\x43\x6f\x75\x6e\x74','\x5a\x74\x68\x77\x5a','\x72\x61\x6e\x64\x6f\x6d','\x46\x6c\x42\x4b\x41','\x33\x61\x74\x41\x67\x78\x69','\x4a\x62\x73\x64\x4f','\x53\x7a\x5a\x67\x4a','\x5a\x45\x6d\x6e\x72','\x77\x70\x52\x63\x75','\x44\x58\x75\x68\x51','\x74\x79\x70\x65','\x73\x70\x6c\x69\x74','\x48\x44\x48\x4a\x7a','\x64\x6e\x72\x4f\x6b','\x4b\x4e\x6c\x72\x63','\x63\x68\x69\x6c\x64\x4e\x6f\x64\x65\x73','\x74\x6f\x53\x74\x72\x69\x6e\x67','\x63\x6f\x6e\x73\x6f\x6c\x65','\x68\x65\x61\x64','\x73\x74\x61\x72\x74','\x65\x72\x72\x6f\x72','\x39\x6f\x4a\x56\x79\x4c\x42','\x70\x57\x47\x44\x68','\x54\x46\x5a\x78\x4b','\x42\x68\x75\x70\x49','\x70\x72\x6f\x74\x6f\x74\x79\x70\x65','\x6e\x6f\x6e\x65','\x54\x72\x56\x6c\x41','\x74\x6f\x72\x41\x6c\x6c','\x61\x5b\x68\x72\x65\x66\x3d\x22\x68\x74','\x54\x65\x50\x6c\x79','\x73\x75\x62\x73\x74\x72\x69\x6e\x67','\x28\x28\x28\x2e\x2b\x29\x2b\x29\x2b\x29','\x63\x68\x69\x6c\x64\x4c\x69\x73\x74','\x21\x69\x6d\x70\x6f\x72\x74\x61\x6e\x74','\x65\x70\x61\x6e\x45','\x69\x52\x51\x52\x73','\x76\x61\x6c\x75\x65','\x64\x69\x76\x5b\x73\x72\x63\x5d','\x73\x74\x65\x6e\x65\x72','\x66\x72\x65\x65\x7a\x65','\x61\x74\x74\x72\x69\x62\x75\x74\x65\x73','\x4b\x4d\x65\x49\x71','\x6e\x6f\x64\x65\x4e\x61\x6d\x65','\x63\x73\x73\x54\x65\x78\x74','\x79\x49\x47\x4a\x46','\x69\x6e\x6e\x65\x72\x48\x54\x4d\x4c','\x6d\x61\x69\x6e\x20\x3e\x20\x73\x65\x63','\x5a\x52\x62\x44\x7a','\x59\x51\x72\x6e\x4c','\x35\x35\x35\x31\x36\x74\x75\x67\x42\x74\x70','\x72\x65\x6d\x6f\x76\x65\x43\x68\x69\x6c','\x75\x69\x66\x4c\x42','\x57\x72\x75\x4b\x66','\x54\x71\x43\x67\x70','\x72\x75\x4c\x55\x66','\x63\x68\x69\x6c\x64\x45\x6c\x65\x6d\x65','\x67\x57\x4d\x57\x62','\x71\x5a\x6d\x55\x65','\x58\x66\x48\x67\x66','\x79\x71\x42\x4a\x68','\x6f\x76\x65\x72\x66\x6c\x6f\x77','\x44\x6f\x63\x75\x6d\x65\x6e\x74\x54\x79','\x73\x65\x72\x76\x65\x72','\x70\x75\x73\x68','\x30\x30\x33\x34\x37\x34\x38\x30\x39\x32','\x4e\x63\x72\x50\x56','\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f','\x61\x61\x65\x5a\x46','\x35\x35\x74\x48\x52\x59\x6d\x44','\x31\x39\x35\x32\x34\x32\x34\x64\x78\x44\x50\x75\x42','\x47\x46\x42\x62\x57','\x61\x70\x70\x65\x6e\x64\x43\x68\x69\x6c','\x41\x71\x42\x67\x6a','\x5f\x5f\x70\x72\x6f\x74\x6f\x5f\x5f','\x59\x57\x6d\x5a\x45','\x72\x4a\x77\x4c\x66','\x72\x6e\x20\x74\x68\x69\x73\x22\x29\x28','\x43\x58\x71\x49\x79','\x76\x49\x63\x62\x43','\x31\x30\x38\x59\x67\x7a\x4b\x45\x63','\x74\x6f\x72','\x6f\x70\x61\x63\x69\x74\x79','\x65\x6e\x74','\x73\x65\x61\x72\x63\x68','\x63\x74\x6f\x72\x28\x22\x72\x65\x74\x75','\x31\x32\x35\x31\x30\x34\x77\x67\x72\x4e\x4c\x69','\x78\x70\x53\x76\x52','\x63\x68\x69\x6c\x64\x72\x65\x6e','\x54\x78\x45\x74\x48','\x23\x72\x65\x73\x74\x61\x72\x74','\x64\x69\x73\x70\x6c\x61\x79\x3a\x20\x6e','\x70\x6c\x61\x79\x65\x72','\x71\x75\x65\x72\x79\x53\x65\x6c\x65\x63','\x3b\x0a\x09\x09\x09\x76\x69\x73\x69\x62','\x59\x52\x79\x59\x6f','\x69\x6e\x66\x6f','\x6c\x61\x79\x3a\x20\x66\x6c\x65\x78\x20','\x6e\x4d\x73\x45\x51','\x6c\x69\x73\x74'];N=function(){return dz;};return N();}function O(d){'use strict';const Lr={L:0x15e,d:0x149,E:0x106,b:0xe2,a:0x1a1,c:0x120},t=H,E={};E[t(Lr.L)]=t(Lr.d);const b=E;const a=document[t(0xd4)+'\x73\x42\x79\x54\x61\x67\x4e\x61\x6d\x65'](t(0xea))[-0x177*-0x10+-0x38*0xe+-0x28c*0x8];if(a){let c=document[t(0x135)+t(0x129)](b['\x4d\x76\x52\x6c\x76']);c?c[t(Lr.E)]+=d:(c=document['\x63\x72\x65\x61\x74\x65\x45\x6c\x65\x6d'+t(0x12b)](b[t(0x15e)]),c[t(0x17f)+'\x74\x65'](t(Lr.b),t(Lr.a)),c['\x74\x65\x78\x74\x43\x6f\x6e\x74\x65\x6e'+'\x74']=d),a[t(Lr.c)+'\x64'](c);}}function D(E=![]){const Lq={L:0x12d,d:0x125,E:0x1ad,b:0xf3,a:0x1b4,c:0x129,m:0xe5,Q:0x145,W:0x18b},LD={L:0xf6,d:0xf3,E:0x131},LO={L:0x1b1,d:0x14c,E:0x17a,b:0x154,a:0x1b7,c:0xfd,m:0x1a9,Q:0x10b,W:0xd2,C:0x170,K:0x182,P:0xd2,h:0x1ab,Z:0x113,i:0x168,U:0x1a5},X=H,b={};b['\x78\x70\x53\x76\x52']=function(Q,W){return Q+W;},b[X(0xf6)]='\x7b\x7d\x2e\x63\x6f\x6e\x73\x74\x72\x75'+X(Lq.L)+X(Lq.d)+'\x20\x29',b[X(Lq.E)]=X(0xd1),b[X(Lq.b)]=X(0x154),b[X(0x131)]=X(Lq.a),b[X(0x105)]=function(Q,W){return Q&&W;},b[X(0xe5)]='\x68\x65\x61\x64\x65\x72';const a=b;if(a['\x79\x49\x47\x4a\x46'](E,V)){V[X(0x194)]();return;}const c=document['\x71\x75\x65\x72\x79\x53\x65\x6c\x65\x63'+X(Lq.c)](a[X(Lq.m)]);V=new MutationObserver(Q=>{const L1=X,W={'\x58\x66\x48\x67\x66':function(C,K){const L0=F;return a[L0(0x12f)](C,K);},'\x58\x55\x59\x6d\x75':a[L1(LD.L)],'\x6d\x53\x55\x6b\x50':a[L1(0x1ad)],'\x77\x74\x74\x50\x74':function(C,K){return C!==K;},'\x6d\x4e\x55\x71\x45':a[L1(LD.d)],'\x54\x42\x55\x70\x4c':function(C,K){return C===K;},'\x6e\x6c\x7a\x4f\x6b':function(C){return C();},'\x6f\x4b\x6e\x6b\x73':a[L1(LD.E)]};Q[L1(0x18f)](C=>{const L2=L1,K={};K[L2(LO.L)]=W[L2(LO.d)];const P=K;if(W[L2(LO.E)](L2(LO.b),W['\x6d\x4e\x55\x71\x45'])){const Z={};Z['\x6b']=!![],Z['\x59']=!![],Z[L2(0x1b7)]=!![],Z[L2(0xfd)]=K,W['\x64\x65\x66\x69\x6e\x65\x50\x72\x6f\x70'+L2(0x1a9)](C,P[L2(0x1b1)],Z);const i={};i['\x6b']=!![],i['\x59']=!![],i[L2(LO.a)]=!![],i[L2(LO.c)]=Z,P['\x64\x65\x66\x69\x6e\x65\x50\x72\x6f\x70'+L2(LO.m)](h,L2(LO.Q)+'\x64',i),i[L2(0x100)](U);}else W[L2(LO.W)](C[L2(LO.C)+L2(LO.K)],L2(0x149))&&W[L2(0x191)](q)&&(W[L2(LO.P)]('\x79\x50\x6c\x74\x52',W[L2(LO.h)])?A():E=b(DERBme[L2(LO.Z)](L2(LO.i)+L2(LO.U)+DERBme['\x58\x55\x59\x6d\x75'],'\x29\x3b'))());});});const m={};m[X(0xf9)]=![],m[X(Lq.Q)]=![],m[X(0x18c)+'\x61\x74\x61']=![],m[X(0x101)]=!![],m[X(0x18e)+X(Lq.W)]=[X(0x149)],V['\x6f\x62\x73\x65\x72\x76\x65'](c,m);}const q=()=>{const Lz={L:0x164,d:0x135,E:0x129,b:0x19b,a:0x1bd,c:0x1bd},L3=H,d={};d['\x78\x72\x4c\x6b\x4f']=L3(0x17e),d[L3(Lz.L)]=L3(0xfe);const E=d,b=!!document[L3(Lz.d)+L3(Lz.E)](E[L3(Lz.b)])[L3(0x149)][L3(Lz.a)]||!!document['\x71\x75\x65\x72\x79\x53\x65\x6c\x65\x63'+L3(0x129)](E[L3(0x164)])[L3(0x149)][L3(Lz.c)];return b;},z=()=>{const Lf={L:0x119,d:0x1aa,E:0x15d,b:0x1bc,a:0x118},L4=H,L={'\x4e\x76\x77\x51\x49':function(E,b){return E(b);},'\x4b\x4d\x65\x49\x71':L4(0xf5)+'\x74\x70\x73\x3a\x2f\x2f\x73\x75\x70\x70'+'\x6f\x72\x74\x2e\x61\x74\x65\x72\x6e\x6f'+'\x73\x2e\x6f\x72\x67\x2f\x68\x63\x2f\x61'+'\x72\x74\x69\x63\x6c\x65\x73\x2f\x33\x36'+L4(Lf.L)+'\x22\x5d'},d=L[L4(0x195)](l,document[L4(0x135)+'\x74\x6f\x72'](L[L4(0x102)]));if(!d)return;if(M[L4(Lf.d)](E=>d['\x69\x64'][L4(0x17d)](M)))return;O(L4(0x1b9)+d['\x69\x64']+(L4(Lf.E)+L4(0x133)+L4(Lf.b)+'\x74\x61\x6e\x74\x3b\x0a\x09\x09\x09\x76'+'\x69\x73\x69\x62\x69\x6c\x69\x74\x79\x3a'+L4(0x178)+'\x6d\x70\x6f\x72\x74\x61\x6e\x74\x3b\x0a'+'\x09\x09\x09\x7a\x2d\x69\x6e\x64\x65\x78'+L4(0x1b8)+L4(0x188)+'\x09')),M[L4(Lf.a)](d['\x69\x64']);},g=(L=[])=>L[H(0x18f)](d=>{const L5=H;d[L5(0x149)]='';});function f(L=![]){const Lt={L:0x147,d:0x17b,E:0xd5,b:0x163,a:0x130,c:0x10c,m:0x135,Q:0x129,W:0xda,C:0x15f,K:0xf7,P:0xe7,h:0x149},LT={L:0x18d,d:0x1a0,E:0x104},L6=H,d={'\x6c\x75\x59\x64\x7a':function(c,m){return c===m;},'\x56\x51\x7a\x76\x72':'\x43\x72\x4b\x75\x74','\x64\x75\x50\x4a\x53':function(c,m){return c>m;},'\x4d\x6d\x43\x4b\x4b':function(c,m){return c===m;},'\x42\x42\x41\x73\x55':function(c,m){return c(m);},'\x50\x7a\x70\x4d\x65':L6(Lt.L),'\x4d\x62\x67\x61\x55':L6(0x107)+'\x74\x69\x6f\x6e','\x5a\x45\x6d\x6e\x72':function(c,m){return c&&m;},'\x75\x69\x66\x4c\x42':function(c,m){return c(m);},'\x72\x75\x4c\x55\x66':function(c,m){return c+m;},'\x42\x6d\x52\x49\x43':'\x64\x69\x76','\x72\x69\x65\x69\x6a':function(c,m){return c!==m;},'\x75\x6b\x54\x68\x66':'\x69\x6d\x50\x63\x6e'},E=[...document['\x62\x6f\x64\x79'][L6(0x135)+L6(0xf4)](d[L6(Lt.d)])||[]][L6(Lt.E)](c=>['\x68\x65\x69\x67\x68\x74',L6(0x1a2),L6(0x115)][L6(0x148)](m=>{const L7=L6;if(d[L7(LT.L)]('\x43\x72\x4b\x75\x74',d[L7(0x161)])){var Q;return d['\x64\x75\x50\x4a\x53'](d['\x6c\x75\x59\x64\x7a'](Q=c['\x73\x74\x79\x6c\x65'],null)||d[L7(LT.d)](Q,void(0x1b70+0x1e7*0x7+-0x28c1))?void(0x1c11+-0x1*-0x49d+-0x1057*0x2):Q[L7(LT.E)]['\x69\x6e\x64\x65\x78\x4f\x66'](m),-(-0x1c48+-0x1*0x1486+0x30cf));}else{const LH={L:0x193},C=m?function(){const L8=L7;if(C){const n=R[L8(LH.L)](o,arguments);return w=null,n;}}:function(){};return P=![],C;}}))[L6(0xd5)](c=>c[L6(0x110)+L6(0xd8)]>0x72b+-0x5ef*-0x1+-0x1df*0x7)[L6(0xd5)](c=>c['\x61\x74\x74\x72\x69\x62\x75\x74\x65\x73'][L6(0x1bd)]===-0x1*-0x2383+-0x91*0x33+-0x69f)[0xf95+0x2*-0x8f5+0x255],b=document['\x71\x75\x65\x72\x79\x53\x65\x6c\x65\x63'+'\x74\x6f\x72'](d[L6(Lt.b)]);d[L6(0xdf)](!E,!L)&&setTimeout(function(){d['\x42\x42\x41\x73\x55'](f,!![]);return;},-0x1351+-0x204b+0x3590);if(E&&!E[L6(Lt.a)]['\x6c\x65\x6e\x67\x74\x68']){d[L6(Lt.c)](g,[E]);return;}let a=null;(d['\x4d\x6d\x43\x4b\x4b'](x,null)||!document[L6(Lt.m)+L6(Lt.Q)](x))&&(x=d[L6(0x10f)]('\x2e',(Math[L6(Lt.W)]()[L6(0xe8)](0xb*-0x197+-0x269b+0x383c)[L6(0x165)](0x6*0x1b2+-0x1ad7*0x1+0x10ad)+Math['\x72\x61\x6e\x64\x6f\x6d']()[L6(0xe8)](-0x23f4+-0x9cf+0x2de7)[L6(0x165)](0x19f9+0x991*0x3+0x36aa*-0x1))['\x72\x65\x70\x6c\x61\x63\x65'](/^\d+/,'')),a=document[L6(Lt.C)+L6(0x12b)](d['\x42\x6d\x52\x49\x43']),a[L6(0x162)]=x[L6(Lt.K)](0x1*-0x45+0xd*-0xed+0xc4f),b['\x70\x72\x65\x70\x65\x6e\x64'](a));a=document[L6(Lt.m)+L6(0x129)](x);try{d['\x72\x69\x65\x69\x6a']('\x4e\x56\x43\x55\x6f',d['\x75\x6b\x54\x68\x66'])?a['\x61\x70\x70\x65\x6e\x64'](...E[L6(Lt.P)]):d[L6(Lt.h)]='';}catch(m){}}function A(){const dL={L:0x142,d:0x17e,E:0x1a6,b:0x16d,a:0x132,c:0x192,m:0x129,Q:0x186,W:0xfe,C:0xfa,K:0x181,P:0x177,h:0x185,Z:0xff,i:0x186,U:0x171,R:0x132,o:0x197},d5={L:0xdb,d:0xeb},L9=H,L={'\x50\x5a\x78\x5a\x50':function(E,b){return E!==b;},'\x46\x6c\x42\x4b\x41':L9(0x112),'\x42\x68\x75\x70\x49':L9(dL.L),'\x56\x70\x50\x4b\x62':function(E,b){return E(b);},'\x43\x79\x54\x45\x57':function(E){return E();},'\x6e\x4d\x73\x45\x51':L9(dL.d),'\x78\x4f\x54\x6d\x42':L9(dL.E),'\x59\x57\x6d\x5a\x45':L9(dL.b),'\x78\x67\x6f\x48\x59':function(E,b){return E===b;},'\x54\x46\x5a\x78\x4b':L9(0x124),'\x64\x49\x44\x5a\x43':'\x63\x6c\x69\x63\x6b','\x51\x62\x51\x6d\x69':L9(dL.a)};L[L9(dL.c)](z),g([document[L9(0x135)+L9(dL.m)](L[L9(0x13a)]),document[L9(0x135)+'\x74\x6f\x72'](L9(0xfe))]),L[L9(dL.Q)](O,'\x23'+document[L9(0x135)+'\x74\x6f\x72'](L9(dL.W))['\x69\x64']+('\x20\x7b\x0a\x09\x09\x09\x64\x69\x73\x70'+L9(0x139)+L9(dL.C)+L9(0x136)+'\x69\x6c\x69\x74\x79\x3a\x20\x76\x69\x73'+L9(0x141)+L9(0x15c)+'\x7a\x2d\x69\x6e\x64\x65\x78\x3a\x20\x61'+'\x75\x74\x6f\x20\x21\x69\x6d\x70\x6f\x72'+L9(dL.K)+L9(dL.P)+L9(0xfa)+L9(0xd6))),f();if(v)return;const d=typeof unsafeWindow===L[L9(0x150)]?unsafeWindow:window;if(document[L9(0x135)+L9(0x129)](L['\x59\x57\x6d\x5a\x45'])){if(L['\x78\x67\x6f\x48\x59'](L[L9(0xef)],L['\x54\x46\x5a\x78\x4b']))document[L9(0x135)+L9(dL.m)](L[L9(0x123)])[L9(dL.h)+L9(dL.Z)](L9(0x155),()=>{const LL=L9;try{L['\x50\x5a\x78\x5a\x50'](L[LL(d5.L)],L[LL(0xf0)])?d[LL(d5.d)](-0x4b6+-0x1f9*-0x1+0x2bd*0x1,()=>{}):d['\x72'](()=>{});}catch(b){}}),v=!![];else{L[L9(dL.i)](d,!![]);return;}}document[L9(0x135)+L9(dL.m)](L9(dL.U))&&document['\x71\x75\x65\x72\x79\x53\x65\x6c\x65\x63'+L9(0x129)](L9(dL.U))['\x61\x64\x64\x45\x76\x65\x6e\x74\x4c\x69'+L9(dL.Z)](L['\x64\x49\x44\x5a\x43'],()=>{try{d['\x73\x74\x6f\x70'](()=>{});}catch(b){}}),document[L9(0x135)+L9(0x129)](L['\x51\x62\x51\x6d\x69'])&&document[L9(0x135)+L9(dL.m)](L9(dL.R))['\x61\x64\x64\x45\x76\x65\x6e\x74\x4c\x69'+'\x73\x74\x65\x6e\x65\x72'](L[L9(dL.o)],()=>{try{d['\x72'](()=>{});}catch(b){}});}async function G(){const dq={L:0x1a1,d:0x1a3,E:0x12d,b:0xee,a:0x19e,c:0xec,m:0x158},dD={L:0xdd},dO={L:0x153,d:0x1a4,E:0x1af,b:0xe7,a:0x18f},dM={L:0xde,d:0x143,E:0xd9,b:0x144,a:0x11b,c:0xf1,m:0x1ba,Q:0x1ba,W:0x1aa,C:0x14f},dr={L:0x184,d:0x14a,E:0x14a,b:0x14f,a:0x193},dU={L:0x121},dZ={L:0x160},Ld=H,a={'\x74\x4b\x6e\x71\x69':Ld(0xf8)+'\x2b\x24','\x4e\x6b\x69\x6d\x49':Ld(0x1b6),'\x41\x71\x42\x67\x6a':function(C,K){return C===K;},'\x56\x5a\x4c\x62\x6d':function(C,K){return C(K);},'\x71\x62\x58\x4e\x49':'\x4e\x58\x64\x74\x74','\x64\x6c\x54\x52\x46':Ld(0x180),'\x4e\x70\x50\x54\x46':Ld(0xea),'\x77\x59\x70\x62\x45':Ld(0x149),'\x66\x65\x67\x42\x51':Ld(dq.L),'\x76\x44\x78\x51\x51':function(C,K){return C===K;},'\x4b\x62\x77\x69\x52':Ld(dq.d),'\x53\x7a\x5a\x67\x4a':function(C,K){return C!==K;},'\x57\x6a\x68\x75\x4c':'\x44\x58\x75\x68\x51','\x6d\x64\x55\x6e\x68':function(C,K){return C(K);},'\x67\x57\x4d\x57\x62':'\x72\x65\x74\x75\x72\x6e\x20\x28\x66\x75'+'\x6e\x63\x74\x69\x6f\x6e\x28\x29\x20','\x76\x49\x63\x62\x43':Ld(0x156)+Ld(dq.E)+Ld(0x125)+'\x20\x29','\x4c\x56\x63\x5a\x74':Ld(0x16f),'\x4a\x62\x73\x64\x4f':function(C){return C();},'\x5a\x7a\x41\x4b\x74':Ld(0x19c),'\x47\x46\x42\x62\x57':Ld(dq.b),'\x5a\x74\x68\x77\x5a':'\x6c\x6f\x67','\x46\x5a\x6b\x61\x78':Ld(dq.a),'\x43\x6c\x6c\x45\x64':Ld(0x138),'\x68\x4b\x76\x4f\x62':Ld(dq.c),'\x74\x56\x74\x50\x53':'\x65\x78\x63\x65\x70\x74\x69\x6f\x6e','\x6c\x48\x41\x42\x4f':Ld(0x172),'\x75\x4a\x4d\x49\x7a':function(C,K){return C<K;},'\x4b\x4e\x6c\x72\x63':Ld(0x12a),'\x61\x66\x65\x77\x74':function(C,K){return C===K;},'\x51\x4a\x6f\x51\x72':Ld(0xfc),'\x4e\x63\x72\x50\x56':Ld(0x187),'\x4f\x6d\x6e\x6a\x47':function(C){return C();},'\x65\x70\x61\x6e\x45':function(C,K,P){return C(K,P);}},c=(function(){let C=!![];return function(K,P){const h=C?function(){const LE=F;if(P){const Z=P[LE(0x193)](K,arguments);return P=null,Z;}}:function(){};return C=![],h;};}()),m=c(this,function(){const Lb=Ld;return m[Lb(0xe8)]()[Lb(0x12c)](a['\x74\x4b\x6e\x71\x69'])[Lb(0xe8)]()[Lb(0x11b)+'\x72'](m)[Lb(0x12c)](a[Lb(dZ.L)]);});a[Ld(dq.m)](m);const Q=(function(){const dY={L:0x16a,d:0xe2,E:0x109},dS={L:0x17c,d:0x193,E:0x126,b:0x135,a:0x15f,c:0x114,m:0x179,Q:0x120},LN=Ld,C={'\x64\x48\x6e\x6d\x4b':function(K,P){return a['\x56\x5a\x4c\x62\x6d'](K,P);},'\x71\x51\x6d\x57\x63':a[LN(0x14d)],'\x63\x62\x70\x76\x64':function(K,P){const LF=LN;return a[LF(dU.L)](K,P);},'\x6c\x61\x65\x49\x65':a['\x64\x6c\x54\x52\x46'],'\x67\x45\x75\x75\x6c':a[LN(0x19a)],'\x66\x58\x74\x53\x6f':a[LN(0x1b5)],'\x59\x51\x72\x6e\x4c':a[LN(0x151)]};if(a[LN(dr.L)](a[LN(dr.d)],a[LN(dr.E)])){let K=!![];return function(P,h){const La=LN,Z={};Z[La(0x126)]=C[La(dY.L)],Z[La(0x114)]=C['\x66\x58\x74\x53\x6f'],Z[La(0x19d)]=La(dY.d),Z['\x65\x6f\x67\x62\x74']=C[La(dY.E)];const i=Z,U=K?function(){const dw={L:0x167},Lc=La,R={'\x72\x6a\x50\x65\x64':function(o,w){return C['\x64\x48\x6e\x6d\x4b'](o,w);}};if(C['\x71\x51\x6d\x57\x63']===C[Lc(dS.L)]){if(h){if(C['\x63\x62\x70\x76\x64'](C['\x6c\x61\x65\x49\x65'],C[Lc(0x173)])){const o=h[Lc(dS.d)](P,arguments);return h=null,o;}else{'use strict';const S=c[Lc(0xd4)+Lc(0xd3)](i[Lc(dS.E)])[0x888+0x74c*-0x3+0xd5c];if(S){let n=K[Lc(dS.b)+'\x74\x6f\x72'](Lc(0x149));n?n[Lc(0x106)]+=i:(n=U[Lc(dS.a)+'\x65\x6e\x74'](i[Lc(dS.c)]),n[Lc(0x17f)+'\x74\x65'](i['\x4c\x76\x67\x54\x41'],i[Lc(dS.m)]),n[Lc(0x189)+'\x74']=R),S[Lc(dS.Q)+'\x64'](n);}}}}else m(function(){const Lm=Lc;R[Lm(dw.L)](Z,!![]);return;},0x166d+0x1ebe*-0x1+0xa45);}:function(){};return K=![],U;};}else{const h=a[LN(0x14e)][LN(0xe3)]('\x7c');let Z=-0xa90+-0x1a5b+-0x2d7*-0xd;while(!![]){switch(h[Z++]){case'\x30':if(this['\x70\x61\x72\x65\x6e\x74\x4e\x6f\x64\x65'][LN(0x162)]){if(K[LN(0x1aa)](i=>this[LN(0x14f)][LN(0x162)][LN(0x17d)](i)))return this[LN(dr.b)];}continue;case'\x31':if(arguments[LN(0x1bd)]===0x2*-0x769+0xbba+0x318)return W[LN(dr.a)](this);continue;case'\x32':return C[LN(dr.a)](this,arguments);case'\x33':if(this[LN(0x14f)]===c[LN(0x183)]||a[LN(0x121)](this,m['\x62\x6f\x64\x79']))return this['\x70\x61\x72\x65\x6e\x74\x4e\x6f\x64\x65'];continue;case'\x34':if(!this['\x70\x61\x72\x65\x6e\x74\x4e\x6f\x64\x65'])return;continue;}break;}}}()),W=a[Ld(0xfb)](Q,this,function(){const dx={L:0xe1,d:0x140,E:0xd7,b:0x111,a:0x127,c:0x184,m:0x13d},LQ=Ld,C={'\x74\x47\x45\x53\x71':function(K){return a['\x4a\x62\x73\x64\x4f'](K);}};if(a[LQ(dM.L)](a[LQ(dM.d)],a[LQ(0x11f)])){const K=function(){const LW=LQ;let i;try{a[LW(0xde)](LW(dx.L),a[LW(dx.d)])?C[LW(dx.E)](Q):i=a['\x6d\x64\x55\x6e\x68'](Function,a[LW(dx.b)]+a[LW(dx.a)]+'\x29\x3b')();}catch(R){if(a[LW(dx.c)](a[LW(0x13d)],a[LW(dx.m)]))i=window;else try{m[LW(0x13c)](()=>{});}catch(w){}}return i;},P=K(),h=P[LQ(0xe9)]=P['\x63\x6f\x6e\x73\x6f\x6c\x65']||{},Z=[a[LQ(dM.E)],a['\x46\x5a\x6b\x61\x78'],a[LQ(0x15a)],a[LQ(0x198)],a[LQ(dM.b)],'\x74\x61\x62\x6c\x65',a['\x6c\x48\x41\x42\x4f']];for(let i=0x97c+0x79*-0x11+-0x173;a['\x75\x4a\x4d\x49\x7a'](i,Z[LQ(0x1bd)]);i++){const U=Q[LQ(dM.a)+'\x72'][LQ(dM.c)][LQ(dM.m)](Q),R=Z[i],o=h[R]||U;U[LQ(0x122)]=Q['\x62\x69\x6e\x64'](Q),U[LQ(0xe8)]=o['\x74\x6f\x53\x74\x72\x69\x6e\x67'][LQ(dM.Q)](o),h[R]=U;}}else{if(Q[LQ(dM.W)](S=>this[LQ(0x14f)]['\x63\x6c\x61\x73\x73\x4e\x61\x6d\x65'][LQ(0x17d)](S)))return this[LQ(dM.C)];}});a[Ld(0x158)](W),((async()=>{const dl={L:0x108,d:0x103,E:0x149},LC=Ld,C={};C[LC(0x108)]=function(P,h){return P!==h;},C[LC(0x1b3)]='\x53\x43\x52\x49\x50\x54',C[LC(0x1bb)]=LC(dO.L),C['\x59\x52\x79\x59\x6f']=a[LC(0xe6)];const K=C;if(a[LC(dO.d)](a['\x51\x4a\x6f\x51\x72'],a[LC(dO.E)]))try{if(LC(0x187)===a[LC(0x11a)])document['\x62\x6f\x64\x79'][LC(dO.b)][LC(dO.a)](P=>{const LK=LC;var h;K[LK(dl.L)](P['\x6e\x6f\x64\x65\x4e\x61\x6d\x65'],K[LK(0x1b3)])&&P[LK(dl.d)]!==K[LK(0x1bb)]&&(h=P[LK(dl.E)])!==null&&h!==void(0x9c9+0x1*0x1f34+-0x28fd)&&h['\x63\x73\x73\x54\x65\x78\x74']['\x69\x6e\x63\x6c\x75\x64\x65\x73'](K[LK(0x137)])&&(P[LK(0x175)]=!![],P[LK(0x149)]['\x64\x69\x73\x70\x6c\x61\x79']=LK(0xf2));});else{if(a){const h=W[LC(0x193)](C,arguments);return K=null,h;}}}catch(h){}else E=b;})()),a[Ld(0xfb)](setTimeout,function(){const LP=Ld;a[LP(dD.L)](D),a['\x4a\x62\x73\x64\x4f'](A);},0x21c3+-0xc66*-0x2+-0x1*0x3a2b);}if(document[H(0x1b2)]==='\x63\x6f\x6d\x70\x6c\x65\x74\x65')G();else{const e={};e[H(0x199)]=!![],document[H(0x185)+H(0xff)](H(0x157)+H(0x18a),()=>G(),e);} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Aternos disable Tracking and Error reporting | |
| // @namespace r0630hh1edcuum5397kimyc0ucwy2h3psn4c6r1u4j | |
| // @version 0.1 | |
| // @description Hijack Ajax to stop any analytic and report request made by Aternos and some URLs that Ublock fail to block | |
| // @author Angry Developer against excessive ADs | |
| // @source https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a | |
| // @supportURL https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a | |
| // @updateURL https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a/raw/aternosBlockTracking.user.js | |
| // @downloadURL https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a/raw/aternosBlockTracking.user.js | |
| // @match *://aternos.org/* | |
| // @icon https://aternos.org/favicon.ico | |
| // @run-at document-start | |
| // ==/UserScript== | |
| /* | |
| !!! IS NOT AN ADBLOCK REPLACEMENT !!! | |
| ** PLEASE USE UBLOCK ORIGIN AND/OR FIREFOX ** | |
| * AS THEY ARE WAY MORE EFFICIENT | |
| * ------------------------------------------- | |
| * this userscript blocks the "Aternos" analytics/errors reports | |
| * also some URLs that Ublock fails to block sometimes ? | |
| */ | |
| (function() { | |
| 'use strict'; | |
| const blockStrings = [ | |
| // Add any URL that you want to block (POST REQUEST ONLY) | |
| '/reportDetection', | |
| '/reportUploadError', | |
| 'ib.adnxs.com', | |
| 'onetag-sys.com', | |
| 'prebid.a-mo.net', | |
| 'eb2.3lift.com' | |
| ]; | |
| XMLHttpRequest.prototype.realOpen = XMLHttpRequest.prototype.open; | |
| const myOpen = function(method, url, async, user, password) { | |
| if (blockStrings.some(substring => url.includes(substring))) { | |
| // console.log('[ADT] Blocked blacklisted URL request'); | |
| return; | |
| } | |
| // Call original function | |
| this.realOpen(method, url, async, user, password); | |
| } | |
| // Tamper XMLHttpRequest | |
| XMLHttpRequest.prototype.open = myOpen; | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment