Skip to content

Instantly share code, notes, and snippets.

@keyeh
Last active August 31, 2017 06:41
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save keyeh/f16f7bbc17bcf6df9f284c2405f33a34 to your computer and use it in GitHub Desktop.
Save keyeh/f16f7bbc17bcf6df9f284c2405f33a34 to your computer and use it in GitHub Desktop.
Haven Bypass 0.1
// Haven Bypass 0.1
// Use this with Chrome
// Please comment if this doesn't work for you.
//
// Usage:
// 0. Be on a page with an "ENTER" link and incomplete items or a page with video/quiz/slideshow.
// 1. Paste this code into javascript console and press enter
// 2. Repeat #1 until you're done.
//
// If you are having issues try navigating one level deeper than the main menu
// ex. Main Menu -> Creating Community
var nextSection = $('.menuItem').not('.completed').not('.locked').find('.btnEnter')[0]
if(nextSection) {
nextSection.click()
} else {
locSession.markCurrentPageAsComplete(); $('#arrowRight').trigger("click");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment