instruction: look for condition in code like
if (xx == yy)
replace with
if (xx = yy)
Last active
August 29, 2015 14:18
-
-
Save markknol/b246ce07e77bac8dab69 to your computer and use it in GitHub Desktop.
Trolling with others code. Never leave your computer.
A really cool way to stop others messing with my code:
// Autogenerated, do not edit. All changes will be undone.
instruction: place somewhere in others code
fakes a waiting state
setTimeout(function() {document.body.style.cursor = 'wait';document.body.style.opacity = 0.5}, 128*128);
instruction: place somewhere in others code
function loopLength(a) { return { a: a }; }
for(var i = 0; loopLength(i); ++i) { alert(i); }
instruction: place somewhere in others code
document.addEventListener('touchstart', function(evt) {
if (Math.random() > 0.95) evt.preventDefault();
});
instruction: place somewhere in others code
window.$ = null;
instruction: place somewhere in others code
hides errors after the first
window.onerror = function() { window.onerror = null; }
instruction: look for break-statement in a switch remove it
instruction: replace real semicolon in other code http://www.fileformat.info/info/unicode/char/037e/index.htm can be written using Alt+037E
;
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment