36
HAlex
8y

Windows:
// Find for a solution
crashChecker.findSolution() {
wait(10000);
}

// Close app if pressing letters 30 times in a row, do the same for mouse click event
keyboardEvent.preLoad(countRow, app) {
if (countRow > 30) {
app.whiteOverlay();
app.crash();
app.close();
}
}

commands.kill(pid) {
App app = findByPid(pid);
app.askFor("ALT+F4");
}

// Render a page in IE
internetExplorer.renderPage(content) {
if (content.type == "json") {
return renderAs(content, "html");
}
if (content.type == "html") {
supportedElements.cutByHalf();
if (supportedElements.length > 20) {
bsod(Error.Memory);
} else {
wait(1000 * random());
return renderAs(content, "html");
}
}

commands.shutdown() {
int delay = 0;
if (apps.length) delay = 30;
if (updater.hasUpdates()) delay = updater.length * 40;

maybeShutdown(delay);
}

Comments
Add Comment