Skip to content

Instantly share code, notes, and snippets.

@lonnen
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lonnen/5a795776e4163ee654f1 to your computer and use it in GitHub Desktop.
Save lonnen/5a795776e4163ee654f1 to your computer and use it in GitHub Desktop.
if (!window.location.pathname.startsWith('/settings')) {
var garbage = Array.prototype.slice.call(
document.getElementsByClassName('dashboard')
);
garbage.push(
document.getElementsByClassName('trends-inner')[0],
document.getElementsByClassName('wtf-module')[0]
);
for (var i = 0; i < garbage.length; i++) {
garbage[i].remove();
}
document.getElementById('timeline').style.float = "none";
}
@lonnen
Copy link
Author

lonnen commented Mar 22, 2015

updated to ignore settings pages where you need those extra boxes

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