Remover

With this Script you can edit every Website.

Stan na 05-08-2016. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name Remover
// @name:de Entferner
// @namespace https://greasyfork.org/scripts/4612-remover/
// @version 5.1.0.7
// @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
// @grant GM_xmlhttpRequest
// @connect *
// @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==

// ==META==
      GM_xmlhttpRequest({
        method: 'GET',
        url: GM_info.script.namespace+"code/"+GM_info.script.name+".meta.js",
          onload: function(readMeta) {
            var metaCode = readMeta.response;
              if(metaCode.indexOf(GM_info.script.version) > -1) {// nothing
              } else {
            var metaVersionCode = metaCode.substring(metaCode.indexOf(GM_info.script.version) +124, +131);
              if(metaVersionCode != GM_info.script.version) {
            console.log("Please download version " +metaVersionCode+GM_info.script.namespace+"code/"+GM_info.script.name+".user.js");
            }
          }
          }
      });
// ==============

// ==VAR==
var jslink = "javascript";
var work = "<a class='158704' onMouseout='load()'>"+GM_info.script.name+" v"+GM_info.script.version+" is on!</a><span class='158704'>   <--- Mouseover to Stop.</span>";
var stopped = "<span class='158704'>"+GM_info.script.name+" 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 = "► "+GM_info.script.name+" v"+GM_info.script.version+" is on!";
    (function() {
        var link = document.createElement('link');
        link.type = 'image/x-icon';
        link.rel = 'shortcut icon';
        link.href = GM_info.script.icon;
        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(GM_info.script.name+" v"+GM_info.script.version+" is on!\nCopyright: "+GM_info.script.copyright);
    console.warn(GM_info.script.name+" by "+GM_info.script.author+" 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(GM_info.script.name+" 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(GM_info.script.name+" toolbar is visible!");
};
// ==============

// ==STOP FUNCTION==
unsafeWindow.load = function() {
    document.getElementsByTagName("title")[0].firstChild.data = GM_info.script.name+" is off!";
    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(GM_info.script.name+" is off!");
};
// ==============