Skip to content

Instantly share code, notes, and snippets.

@lenivene
Last active October 27, 2017 00:23
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 lenivene/352f7f0f83e9fe3114d09527a0be707f to your computer and use it in GitHub Desktop.
Save lenivene/352f7f0f83e9fe3114d09527a0be707f to your computer and use it in GitHub Desktop.
Skip and bypass the wait
// Inject start document code
Object.defineProperty(window, 'ysmm', {
set: function(val) {
var T3 = val,
I = '',
X = '',
key;
for (var m = 0; m < T3.length; m++) {
if (m % 2 == 0) {
I += T3.charAt(m);
} else {
X = T3.charAt(m) + X;
}
}
T3 = I + X;
var U = T3.split('');
for (var m = 0; m < U.length; m++) {
if (!isNaN(U[m])) {
for (var R = m + 1; R < U.length; R++) {
if (!isNaN(U[R])) {
var S = U[m]^U[R];
if (S < 10) {
U[m] = S;
}
m = R;
R = U.length;
}
}
}
}
T3 = U.join('');
T3 = window.atob(T3);
T3 = T3.substring(T3.length - (T3.length - 16));
T3 = T3.substring(0, T3.length - 16);
key = T3;
if( key && ( key.indexOf( 'http://' ) === 0 || key.indexOf( "https://" ) === 0 ) ){
document.write('<!--');
window.stop();
window.onbeforeunload = null;
window.location = key;
}
}
});
// Inject start document code
Object.defineProperty(window,"ysmm",{set:function(b){var a=b,c="",d="";for(b=0;b<a.length;b++)0==b%2?c+=a.charAt(b):d=a.charAt(b)+d;a=(c+d).split("");for(b=0;b<a.length;b++)if(!isNaN(a[b]))for(c=b+1;c<a.length;c++)isNaN(a[c])||(d=a[b]^a[c],10>d&&(a[b]=d),b=c,c=a.length);a=a.join("");a=window.atob(a);a=a.substring(a.length-(a.length-16));!(b=a=a.substring(0,a.length-16))||0!==b.indexOf("http://")&&0!==b.indexOf("https://")||(document.write("\x3c!--"),window.stop(),window.onbeforeunload=null,window.location=b)}});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment