Travian Reports NoScroll

Simple script that moves the Mark As Read and the Delete buttons on the reports page to the top of the list.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Travian Reports NoScroll
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Simple script that moves the Mark As Read and the Delete buttons on the reports page to the top of the list.
// @author       FrankP

// @include        http://*.travian.*/berichte.php*
// @grant GM_addStyle
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_deleteValue

// ==/UserScript==
// Updated 12/1/2015 by FrankP
// ==/UserScript==

/* jshint -W097 */
'use strict';
var buttonSelect = document.getElementById("mark_as_read");
document.getElementById("markAll").appendChild(document.getElementById("mark_as_read"))
document.getElementById("markAll").appendChild(document.getElementById("del"))