Created
August 28, 2013 08:09
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.