WebProxy

Hidden Web proxy element

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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";
}