+feedly

    @@ -29,5 +29,5 @@ } else { var u = 'http://cloud.feedly.com/#subscription' + encodeURIComponent('/feed/') + encodeURIComponent(h); - $('<div style="margin: 0px; padding: 0px;"><p><a href="' + u + '" target="_blank" style="display: inline-block; color: white; background-color: #2bb24c; font-size: 12px; border-radius: 3px; padding: 7px; 23px; font-family: sans-serif;">+feedly</a></p></div>').prependTo('body'); + $('<div style="margin: 0px; padding: 0px;"><p><a href="' + u + '" target="_blank" style="text-align: center; display: inline-block; color: white; background-color: #2bb24c; font-size: 12px; border-radius: 3px; padding: 7px; 23px; font-family: sans-serif;">+feedly</a></p></div>').prependTo('body'); }
  • /*
     * @title +feedly
     * @description 現在見ているサイトのフィードを feedly cloud に登録するページを開く
     * @include http://*
     * @license MS-PL
     * @require jQuery
     */
     
    var h;
    
    $('link[rel="alternate"]').each(function() {
    	var type = $(this).attr('type');
    	
    	if (type.search(/(application|text)\/((atom|rds|rss)\+)?xml/i) != -1) {
    		h = $(this).attr('href');
    		
    		if (h) {
    			var p = $('p');
    			p[0].insertAdjacentHTML('AfterBegin','<a href="' + h + '"/>');
    			h = p[0].firstChild.href;
    			
    			return false;
    		}
    	}
    });
    
    if (!h) {
    	window.alert('Could not find feed');
    }
    else {
    	var u = 'http://cloud.feedly.com/#subscription' + encodeURIComponent('/feed/') + encodeURIComponent(h);
    	$('<div style="margin: 0px; padding: 0px;"><p><a href="' + u + '" target="_blank" style="text-align: center; display: inline-block; color: white; background-color: #2bb24c; font-size: 12px; border-radius: 3px; padding: 7px; 23px; font-family: sans-serif;">+feedly</a></p></div>').prependTo('body');
    }
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2015/01/16 18:55:16 - 2015-01-16
  2. 2015/01/16 18:54:59 - 2015-01-16
  3. 2015/01/16 18:53:54 - 2015-01-16
  4. 2015/01/16 18:53:02 - 2015-01-16
  5. 2015/01/16 18:51:11 - 2015-01-16
  6. 2015/01/16 18:49:41 - 2015-01-16
  7. 2015/01/16 18:49:07 - 2015-01-16
  8. 2015/01/16 18:48:19 - 2015-01-16
  9. 2015/01/16 18:46:46 - 2015-01-16
  10. 2015/01/16 18:45:30 - 2015-01-16
  11. 2015/01/16 18:43:35 - 2015-01-16
  12. 2015/01/16 18:43:11 - 2015-01-16
  13. 2015/01/16 18:42:03 - 2015-01-16
  14. 2015/01/16 18:39:46 - 2015-01-16
  15. 2015/01/16 18:39:26 - 2015-01-16
  16. 2015/01/16 18:38:50 - 2015-01-16
  17. 2015/01/16 18:38:31 - 2015-01-16
  18. 2015/01/16 18:35:53 - 2015-01-16
  19. 2015/01/16 18:18:38 - 2015-01-16
  20. 2015/01/16 18:16:35 - 2015-01-16
  21. 2015/01/16 18:15:30 - 2015-01-16
  22. 2015/01/16 18:15:03 - 2015-01-16
  23. 2015/01/16 18:13:45 - 2015-01-16
  24. 2015/01/16 18:11:51 - 2015-01-16
  25. 2015/01/16 18:11:26 - 2015-01-16
  26. 2015/01/16 18:09:57 - 2015-01-16
  27. 2015/01/16 18:08:21 - 2015-01-16
  28. 2015/01/16 18:06:52 - 2015-01-16
  29. 2015/01/16 18:06:05 - 2015-01-16
  30. 2015/01/16 18:01:10 - 2015-01-16
  31. 2015/01/16 17:59:52 - 2015-01-16
  32. 2015/01/16 17:58:38 - 2015-01-16
  33. 2015/01/16 17:37:25 - 2015-01-16
  34. 2015/01/16 17:35:26 - 2015-01-16
  35. 2015/01/16 17:29:53 - 2015-01-16