Skip to content

Instantly share code, notes, and snippets.

@dasgib
Created April 30, 2014 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dasgib/b615b85010d6a267bc42 to your computer and use it in GitHub Desktop.
Save dasgib/b615b85010d6a267bc42 to your computer and use it in GitHub Desktop.
Userscript for todoist.com (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="https://d3ptyyxy2at9ui.cloudfront.net/76084e29cb2cf72b320e888edc583dfb.gif" width="20" height="18" class="cmp_filter_inbox" style="background-position: -2px -649px">Overview';
home_filter.onclick = function() { document.location.href = 'https://todoist.com' }
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