Last active
November 28, 2018 22:28
-
-
Save dschep/1f3521ebd65ac569a13d0a0daf508031 to your computer and use it in GitHub Desktop.
Get list of current AWS shortcuts
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:(() => { | |
/* Parse cookies into a map */ | |
const cookies = new Map(document.cookie.split(/\s*;\s*/g).map(kv => kv.split('='))); | |
/* decode and parse the noflush_awscnm cookie */ | |
const noflush_awscnm = JSON.parse(decodeURIComponent(cookies.get('noflush_awscnm'))); | |
/* display the comma delimited shortcuts to user */ | |
alert(`current shortcuts: ${noflush_awscnm.sc.join(',')}`); | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Easy install here: http://dschep.github.io/GistMarklets/#1f3521ebd65ac569a13d0a0daf508031
matching bookmarklet to restore them here: https://gist.github.com/dschep/bd2803112f427fcf6ae52c85275229c7