Skip to content

Instantly share code, notes, and snippets.

View hsantanna's full-sized avatar

Henrique Sant'Anna hsantanna

View GitHub Profile
// ==UserScript==
// @name Udemy Checkout, Auto "Enroll Now"
// @include https://www.udemy.com/cart/checkout/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @version 0.3
// @grant GM_addStyle
// ==/UserScript==
/*- The @grant directive is needed to work around a design change
introduced in GM 1.0. It restores the sandbox.