osc-sidebar

osc首页侧边栏,显示最新动弹和快速发送动弹的油猴插件

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         osc-sidebar
// @namespace    http://xu81.com/
// @version      0.1
// @description  osc首页侧边栏,显示最新动弹和快速发送动弹的油猴插件
// @author       xu81.com
// @match        https://www.oschina.net/
// @exclude      https://www.oschina.net/tweet
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var iframe = document.createElement('iframe');
    iframe.style.cssText = 'width: 350px;height: 800px;position: absolute;right: 0px;border: none;top: 96px;z-index: 999;';
    iframe.setAttribute('src', 'https://www.oschina.net/tweets');
    document.body.appendChild(iframe);
})();