Apple iOS Developer LibraryのサンプルコードZIPをやたらめったらダウンロードするブラクラ
by
laiso
2011-04-09 [2011/04/09 11:08:26]
同上
-
/*
* @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 です。