Skip to content

Instantly share code, notes, and snippets.

@vidhanio
Last active November 17, 2022 14:39
Show Gist options
  • Save vidhanio/7fa6d92ac367c3788425c3c25a010754 to your computer and use it in GitHub Desktop.
Save vidhanio/7fa6d92ac367c3788425c3c25a010754 to your computer and use it in GitHub Desktop.
McMaster Fast Login User Scripts
// ==UserScript==
// @name McMaster Avenue to Learn Fast Login
// @namespace http://github.com/vidhanio
// @description Skip the two clicks needed to log in to Avenue to Learn.
// @match https://avenue.cllmcmaster.ca/d2l/login
// @match https://avenue.mcmaster.ca
// @author Vidhan Bhatt
// ==/UserScript==
const target = new URLSearchParams(window.location.search).get("target");
location.href = `https://avenue.mcmaster.ca/login.php${target ? "?target=" + target : ""}`;
// ==UserScript==
// @name McMaster Childsmath Fast Login
// @namespace http://github.com/vidhanio
// @description Skip the click needed to log in to childsmath.
// @match https://www.childsmath.ca/childsa/forms/main_login.php
// @author Vidhan Bhatt
// ==/UserScript==
location.href = "https://cap.mcmaster.ca/mcauth/login.jsp?app_id=1492&app_name=CHILDSMATH.CA&submit=MacID+Login";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment