TamperMonkey (or GreaseMonkey) Scripts
- AWS Close SSO Success (install)
- AWS SSO Focus Allow Button (install)
- AWS SSO Start Page (install)
- Focus .NET Search (install)
- [GitHub Gist Edit Link](h
// ==UserScript== | |
// @name GitHub viewed files utility | |
// @namespace https://gist.github.com/gregory-seidman/dd8b7a93f4603ef3e484c82d45809a95 | |
// @version 1.0.0 | |
// @description Add function markViewed(CSS attribute pattern on value) to mark files viewed by file pattern | |
// @downloadURL https://gist.github.com/gregory-seidman/d3d0cae4ea69e8c324b944f4bb165dfa/raw/github_markViewed_func.user.js | |
// @updateURL https://gist.github.com/gregory-seidman/d3d0cae4ea69e8c324b944f4bb165dfa/raw/github_markViewed_func.user.js | |
// @author Gregory Seidman | |
// @match https://github.com/*/pull/*/files* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com |
// ==UserScript== | |
// @name Github Gist Edit Link | |
// @namespace https://gist.github.com/gregory-seidman/dd8b7a93f4603ef3e484c82d45809a95 | |
// @version 1.1.0 | |
// @description Add an edit links on your own list page | |
// @downloadURL https://gist.github.com/gregory-seidman/67c2186bdf6496f4f238209943cdc1b5/raw/github_gist_edit_link.user.js | |
// @updateURL https://gist.github.com/gregory-seidman/67c2186bdf6496f4f238209943cdc1b5/raw/github_gist_edit_link.user.js | |
// @author Gregory Seidman | |
// @match https://gist.github.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com |
// ==UserScript== | |
// @name AWS Close SSO success | |
// @namespace https://gist.github.com/gregory-seidman/dd8b7a93f4603ef3e484c82d45809a95 | |
// @version 1.0.2 | |
// @description Close the tab after successfully logging in via SSO | |
// @downloadURL https://gist.github.com/gregory-seidman/b316b877975cb8d3010a7e18e3b1b7b0/raw/aws_close_sso_success.user.js | |
// @updateURL https://gist.github.com/gregory-seidman/b316b877975cb8d3010a7e18e3b1b7b0/raw/aws_close_sso_success.user.js | |
// @author Gregory Seidman | |
// @match https://*.awsapps.com/start/user-consent/login-scoped-success.html?* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=awsapps.com |
// ==UserScript== | |
// @name Okta Remember Me | |
// @namespace https://gist.github.com/gregory-seidman/dd8b7a93f4603ef3e484c82d45809a95 | |
// @version 1.0.2 | |
// @description On this browser, Okta should always remember me | |
// @author Gregory Seidman | |
// @downloadURL https://gist.github.com/gregory-seidman/02db78a2ad89cd7621988acdcdf0fb20/raw/okta_remember_me.user.js | |
// @updateURL https://gist.github.com/gregory-seidman/02db78a2ad89cd7621988acdcdf0fb20/raw/okta_remember_me.user.js | |
// @match https://*.okta.com/oauth2/v1/authorize?* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=okta.com |
#!/bin/sh | |
# Download this, name it xdg-open, and move it to somewhere early in your | |
# path on your WSL2 Linux filesystem | |
usage () { | |
echo "Usage: $0 <file URL>" >&2 | |
exit 1 | |
} | |
test $# -ne 1 && usage |
// ==UserScript== | |
// @name AWS SSO Start Page | |
// @namespace https://gist.github.com/gregory-seidman/dd8b7a93f4603ef3e484c82d45809a95 | |
// @version 1.1.3 | |
// @description Expand all account options | |
// @author Gregory Seidman | |
// @downloadURL https://gist.github.com/gregory-seidman/69be84cdd286dd5459cccde10a570ae4/raw/expand-sso-aws-login-options.user.js | |
// @updateURL https://gist.github.com/gregory-seidman/69be84cdd286dd5459cccde10a570ae4/raw/expand-sso-aws-login-options.user.js | |
// @match https://*.awsapps.com/start* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=awsapps.com |
#!/usr/bin/env pwsh | |
param ( | |
[Parameter(Position=0)] | |
[string]$ProfileFilter = $null, | |
[switch]$NoLogin | |
) | |
if ((Get-Command -ErrorAction SilentlyContinue aws) -eq $null) { | |
Write-Error "The AWS CLI must be installed, try: winget install Amazon.AWSCLI" |