Apple iOS Developer LibraryのサンプルコードZIPをやたらめったらダウンロードするブラクラ

  • /*
     * @title Apple iOS Developer LibraryのサンプルコードZIPをやたらめったらダウンロードするブラクラ
     * @description 同上
     * @include http://*
     * @include https://*
     * @license MIT License
     * @require jQuery
    */
    
    var start = 'http://developer.apple.com/library/ios/navigation/#section=Resource%20Types&topic=Sample%20Code';
    if( window.location != start ) window.location = start;
    console.log('aa');
    $.each($('.docTitle a'), function(){
      var p = $.trim(this.text);
      var download = 'http://developer.apple.com/library/ios/samplecode/'+p+'/'+p+'.zip';
      window.open(download, '_blank');
    });
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2011/04/09 11:08:26 - 2011-04-09
  2. 2011/04/08 16:13:53 - 2011-04-08