0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Tiny Tiny RSS(tt-rss)で今は亡きGoogleReader風の次へ、前へのボタンを追加するtampermonkey Script

Posted at

Tampermonkey というuserScript用

これだよ、この右上の次へ 前へボタン。これが欲しい!

imgTemp-2016-05-24-06-01-51.png
File:Google Reader interface.png - Wikipedia, the free encyclopedia より。一部加工

次へをポチポチ押しながらRSS消化していくのが日課だったのに、どこのrssリーダーにも無いんだから困る

tt-rss
// ==UserScript==
// @name         TT-Rssにボタン追加
// @match        http://*
// ==/UserScript==
var root = document.createElement("div");
var nextButton =  document.createElement("button");
var prevButton =  document.createElement("button");

nextButton.innerText="";
prevButton.innerText="";

nextButton.addEventListener("click",function(){moveToPost('next', true);});
prevButton.addEventListener("click",function(){moveToPost('prev', true);});

root.appendChild(prevButton);
root.appendChild(nextButton);

document.querySelector("#toolbar>.dijitToolbar").appendChild(root);


imgTemp-2016-05-24-06-06-17.png
じゃーん。これでOK

でも次へボタンをポチポチ押したけど、快適さが違う気がする・・・ GoogleReaderの挙動とかもう詳しく覚えてないしなあ。
有料でいいから再公開してくれ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?