Skip to content

Instantly share code, notes, and snippets.

@sheabunge
Created August 28, 2013 08:09
Show Gist options
  • Save sheabunge/6363378 to your computer and use it in GitHub Desktop.
Save sheabunge/6363378 to your computer and use it in GitHub Desktop.
When subscribing to your private activity feed on Feedly, the URLs in the feed will be broken and will point to s3.feedly.com instead of github.com. This userscript fixes that.
// ==UserScript==
// @name Fix GitHub URLs on Feedly
// @namespace http://bungeshea.com
// @version 0.1
// @description Fixes links in GitHub feeds from resolving to s3.feedly.com
// @match https?://cloud.feedly.com/#subscription%2Ffeed%2Fhttps%3A%2F%2Fgithub.com%2*.private.atom*
// @copyright Shea Bunge, 2013
// ==/UserScript==
@require "http://code.jquery.com/jquery-latest.min.js";
$('.selectedEntry a').each(function() {
var href = $(this).attr('href');
if (href.indexOf('https://') == -1) {
$(this).attr('href', 'https://github.com' + href);
}
});
@sheabunge
Copy link
Author

I used the Tampermonkey Chrome extension to install this userscript, although I believe that it can be installed in vanilla Chrome by dragging the file to the Extensions page.

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