WebProxy

Hidden Web proxy element

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         WebProxy
// @namespace    Web Proxy
// @version      0.1
// @description  Hidden Web proxy element
// @author       akkew
// @grant        none
// @include		 http://webproxy.stealthy.co/browse.php*
// @include		 http://webproxy.to/browse.php*
// ==/UserScript==

var webproxy_stealthy_co_include_element = document.getElementById("include");
var webproxy_stealthy_co_content_element = document.getElementsByClassName("themaincontent")[0];

var webproxy_to_include_element = document.getElementById("include");
var webproxy_to_content_element = document.getElementById("viewport");
var webproxy_to_body_element = document.getElementById("gsr");

if(document.URL.indexOf("webproxy.stealthy.co/browse.php") >= 0){
    webproxy_stealthy_co_include_element.style.display = "none";
    webproxy_stealthy_co_include_element.style.zIndex = "0";
    webproxy_stealthy_co_content_element.style.marginTop = "0";
}

if(document.URL.indexOf("webproxy.to/browse.php") >= 0){
    webproxy_to_include_element.style.display = "none";
    webproxy_to_include_element.style.zIndex = "0";
    webproxy_to_body_element.style.marginTop = "0";
}