Remover

With this Script you can edit every Website.

目前為 2016-07-22 提交的版本,檢視 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name	Remover
// @name:de	Entferner
// @namespace	http://scriptz.de.to/
// @version 5.1.0.5
// @description	With this Script you can edit every Website.
// @description:de Mit diesem Skript können sie jede beliebige Website bearbeiten.
// @author	Scriptz
// @copyright	2013+ , Scriptz
// @include	*://*
// @icon	http://file1.npage.de/007324/77/bilder/favicon.ico
// @priority	9999
// @grant unsafeWindow
// @supportURL mailto:[email protected]?subject=Remover
// @license Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License; http://creativecommons.org/licenses/by-nc-nd/3.0/
// ==/UserScript==

// ==VAR==
var jslink = "javascript";
var work = "<a class='158704' onMouseout='load()'>Remover by Scriptz is on!</a><span class='158704'>   <--- Mouseover to Stop.</span>";
var Stopped = "<span class='158704'>Remover by Scriptz is off!</span>";
// ==============

// ==START FUNCTION==
body = document.body;
if(body !== null) {
    div2 = document.createElement("div");
    div2.setAttribute('id','first');
    div2.style.position = "fixed";
    div2.style.top = "0px";
    div2.style.right = "0px";
    div2.style.zIndex = "9999";
    div2.style.backgroundColor = "red";
    div2.style.opacity = 0.90;
    div2.style.border = "1px solid #ffffcc";
    div2.style.padding = "3px";
    div2.innerHTML = "<div id='button'><a class='158704' href='javascript:on()'>Start</a></div>";
    body.appendChild(div2);
}
unsafeWindow.on = function() {
    document.getElementById("hide").style.visibility='visible';
    document.getElementById('first').style.left = "0px";
    document.getElementsByTagName("title")[0].firstChild.data = "► Started.";
    (function() {
        var link = document.createElement('link');
        link.type = 'image/x-icon';
        link.rel = 'shortcut icon';
        link.href = 'http://file1.npage.de/007324/77/bilder/favicon.ico';
        document.getElementsByTagName('head')[0].appendChild(link);
    }());
    location.href=jslink+":document.body.contentEditable='true'; document.designMode='on'; void 0";
    document.getElementById('button').innerHTML = work;
    console.info("Remover by Scriptz is on!");
    console.warn("Remover by Scriptz is licensed under a [Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License](http://creativecommons.org/licenses/by-nc-nd/3.0/).");
};
// ==============

// ==HIDE BUTTON==
body = document.body;
if(body !== null) {
    div2 = document.createElement("div");
    div2.setAttribute('id','hide');
    div2.style.position = "fixed";
    div2.style.top = "40px";
    div2.style.right = "0px";
    div2.style.zIndex = "9999";
    div2.style.opacity = 0.90;
    div2.style.visibility ="hidden";
    div2.innerHTML = "<div id='img'><img onMouseout='imgload()' src='http://fs2.directupload.net/images/150909/sxcclyoz.png'></div>";
    body.appendChild(div2);
}
unsafeWindow.imgload = function() {
    document.getElementById("hide").style.visibility='hidden';
    document.getElementById("first").style.visibility='hidden';
    document.getElementById("show").style.visibility='visible';
    console.debug("Remover toolbar is hidden!");
};
// ==============

// ==SHOW BUTTON==
body = document.body;
if(body !== null) {
    div2 = document.createElement("div");
    div2.setAttribute('id','show');
    div2.style.position = "fixed";
    div2.style.top = "0px";
    div2.style.right = "0px";
    div2.style.zIndex = "9999";
    div2.style.opacity = 0.90;
    div2.style.visibility ="hidden";
    div2.innerHTML = "<div id='img'><img onMouseout='loadone()' src='http://fs2.directupload.net/images/150909/7tae9l8k.png'></div>";
    body.appendChild(div2);
}
unsafeWindow.loadone = function() {
    document.getElementById("show").style.visibility='hidden';
    document.getElementById("first").style.visibility='visible';
    document.getElementById("hide").style.visibility='visible';
    console.debug("Remover toolbar is visible!");
};
// ==============

// ==STOP FUNCTION==
unsafeWindow.load = function() {
    document.getElementsByTagName("title")[0].firstChild.data = "Stopped.";
    location.href=jslink+":document.body.contentEditable='false'; document.designMode='off'; void 0";
    document.getElementById('button').innerHTML = Stopped;
    window.setTimeout(function() { document.getElementById("first").style.visibility='hidden'; }, 10000);
    window.setTimeout(function() { document.getElementById("hide").style.visibility='hidden'; }, 10000);
    window.setTimeout(function() { document.getElementById("show").style.visibility='hidden'; }, 10000);
    console.info("Remover by Scriptz is off!");
};
// ==============