Skip to content

Instantly share code, notes, and snippets.

@asottile-sentry
Created April 18, 2022 14:07
Show Gist options
  • Save asottile-sentry/9692ab8d7a732b5e590504189b296c26 to your computer and use it in GitHub Desktop.
Save asottile-sentry/9692ab8d7a732b5e590504189b296c26 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name fsso
// @namespace https://asottile.dev
// @version 0.1
// @description click a da button
// @author asottile
// @match https://github.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
const el = document.querySelector('.org-sso-panel button[type=submit]');
if (el !== null) {
el.click();
}
})();
@asottile-sentry
Copy link
Author

to use this:

  • have tampermonkey (chrome) or greasemonkey (firefox + others) installed
  • click [raw] above and you'll be prompted to install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment