This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: q = location.href; | |
q = q.replace(/[?&]utm_[^&]*/g, ""); | |
q = q.replace(/[?&]mc_[^&]*/g, ""); | |
q = q.replace(/[?&]src=[^&]*/g, ""); | |
q = q.replace(/[?&]ref=[^&]*/g, ""); | |
desc = ""; | |
if (document.getElementsByName("description").length > 0) { | |
desc = document.getElementsByName("description")[0].getAttribute("content") | |
"\n\n" | |
} else if (document.getElementsByName("Description").length > 0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Stay signed in to MS | |
// @description Automatically click "yes" on the Microsoft "stay signed in" page that keeps appearing. | |
// @downloadURL https://gist.github.com/emlyn/2f0c9702bd83fe7d232ed58626c90ac7/raw/ms_ssi.js | |
// @updateURL https://gist.github.com/emlyn/2f0c9702bd83fe7d232ed58626c90ac7/raw/ms_ssi.js | |
// @namespace https://gist.github.com/emlyn/ | |
// @version 0.2 | |
// @author Emlyn Corrin | |
// @match https://login.microsoftonline.com/login.srf | |
// @icon https://c.s-microsoft.com/favicon.ico?v2 |