Skip to content

Instantly share code, notes, and snippets.

View RealOrangeOne's full-sized avatar
🧑‍💻
What's happening?

Jake Howard RealOrangeOne

🧑‍💻
What's happening?
View GitHub Profile
@RealOrangeOne
RealOrangeOne / wiki-game-solver.js
Last active January 4, 2018 18:15
Easy script to win a round of 'The Wiki Game' in a single move
$("#start").click();
var goal = $("#endpagelink0 > a").attr('href').replace("http://en.wikipedia.org/", "");
var goalArray = $("#wiki").attr("src").split("?");
goalArray[1] = "?" + goalArray[1];
goalArray[0] = goal;
$("#wiki").attr("src", goalArray.join().replace(",", ""));