WebProxy

Hidden Web proxy element

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==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";
}