+Subscribe Twitter RSS
@@ -8,10 +8,8 @@
* @license MIT License http://www.opensource.org/licenses/MIT
*/
-(function() {
+if (confirm('Subscribe [ ' + twttr.profileUser.name + ' ] ?')) {
var reader = 'http://www.google.com/reader/view/feed/';
- if (confirm('Subscribe [ ' + twttr.profileUser.name + ' ] ?')) {
- var feed = encodeURIComponent('http://twitter.com/statuses/user_timeline/' + twttr.profileUser.id + '.rss');
- location.href = reader + feed;
- }
-})();
+ var feed = encodeURIComponent('http://twitter.com/statuses/user_timeline/' + twttr.profileUser.id + '.rss');
+ location.href = reader + feed;
+}
/*
* @title +Subscribe Twitter RSS
* @description Twitter RSS Subscribe to Google Reader (Forked)
* @see http://let.hatelabo.jp/m4i/let/gYC-yZKMjtONHg (Original-Let: Atom ver.)
* @see http://let.hatelabo.jp/noromanba/let/gYC-yZ-91I7yEg (PermaLink)
* @include http://twitter.com/*
* @include https://twitter.com/*
* @license MIT License http://www.opensource.org/licenses/MIT
*/
if (confirm('Subscribe [ ' + twttr.profileUser.name + ' ] ?')) {
var reader = 'http://www.google.com/reader/view/feed/';
var feed = encodeURIComponent('http://twitter.com/statuses/user_timeline/' + twttr.profileUser.id + '.rss');
location.href = reader + feed;
}
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。