Skip to content

Instantly share code, notes, and snippets.

@jottr
Created June 6, 2015 14:24
Show Gist options
  • Save jottr/a509310dfb0e9285b8d7 to your computer and use it in GitHub Desktop.
Save jottr/a509310dfb0e9285b8d7 to your computer and use it in GitHub Desktop.
Userscript that moves around certain aspects of gmail layout.
// ==UserScript==
// @name gmail layout
// @namespace http://mail.gogogle.com
// @version 0.1
// @description This script reorders some parts of the gmail layout
// @author jottr
// @match https://mail.google.com/mail/*
// @grant none
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js
// ==/UserScript==
// This moves the last block labeled "everything else" to the top.
$(document).ready(function(){
console.log("ready");
$(".UI .ae4:nth-child(5)" ).insertBefore( $(".UI .ae4:nth-child(3)") );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment