Help us understand the problem. What is going on with this article?

Qiita Team で常に先頭にエントリーへのリンクを表示する UserScript

More than 5 years have passed since last update.

やっつけですが。

Tampermonkey を使ってます。 http://tampermonkey.net/

よかったら、Twitter みたいにエントリーを先頭に Pin できるような機能作ってください。 @yaotti

// ==UserScript==
// @name       Qiita Pinner
// @namespace  https://mycompany.qiita.com/
// @version    0.1
// @description  リンク集を一番上に表示します。
// @match      https://mycompany.qiita.com/
// @copyright  2014+, Atsushi Nagase
// ==/UserScript==

$('#stream-container').before('<div style="padding-bottom:3em"><h2 class="feed-heading">&nbsp;<i class="fa fa-angle-right"></i>&nbsp;Pinned Posts</h2><div class="item-box"><ul id="pinned-posts"></ul></div></div>')
var ul = $('#pinned-posts');

function addPost(title, url) {
  ul.append('<li><a href="'+url+'">'+ title +'</a></li>')
}

addPost('とっても大事なエントリー #1', 'https://mycompany.qiita.com/johndoe/items/abcdef0123456789');
addPost('俺のチートシート', 'https://mycompany.qiita.com/ngs/items/abcdef0123456789');

Screen Shot 2014-05-08 at 16.07.50.png

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした