Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Userscript for (Non-Premium)
window.onload = function() {
// add "overview" button
var filters_list = document.getElementById('top_filters');
var home_filter = document.createElement('li');
home_filter.setAttribute('class', 'filter current');
home_filter.innerHTML = '<img src="" width="20" height="18" class="cmp_filter_inbox" style="background-position: -2px -649px">Overview';
home_filter.onclick = function() { document.location.href = '' }
filters_list.insertBefore(home_filter, filters_list.firstChild);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment