Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tampermonkey to pull selected Overcast podcasts to the top of the page
// ==UserScript==
// @name Overcast Politics
// @namespace http://danconley.net
// @version 0.1
// @description Sort podcasts by group
// @author Dan Conley
// @match https://overcast.fm/podcasts
// @grant none
// @require http://code.jquery.com/jquery-1.11.3.min.js
// ==/UserScript==
$(document).ready(function(){
$('h2').first().before('<h2 class="ocseparatorbar">Politics</h2><div class="politics episodes"></div>');
$($('.caption2:contains("Radio Dispatch"), .caption2:contains("Citizen Radio")').parents('.episodecell').get().reverse()).each(function(){
$(this).detach().appendTo($('.politics'));
});
});
@Sigafoos

This comment has been minimized.

Copy link
Owner Author

Sigafoos commented Jul 8, 2015

This is pretty hard coded, obviously, but you should be able to convert it if you want to. I also use Media Keys For Overcast, which might change things?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.