Skip to content

Instantly share code, notes, and snippets.



Created Jan 31, 2014
What would you like to do?
Dictionary search for two-letter Gmail system labels
// Paste into Chrome's DevTools and run step() repeatedly
var count = 0;
function step() {
var c1 = String.fromCharCode(97 + Math.floor(count/26));
var c2 = String.fromCharCode(97 + count % 26);
location.hash = "#search/label:^" + c1 + c2 + "+is:anywhere";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment