Greasy Fork

来自缓存

Greasy Fork is available in English.

玩你妈逼滚去学

防止任何使用浏览器的行为 滚去学

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name        玩你妈逼滚去学
// @namespace   0w0右手
// @include     *
// @version     0.00001
// @description 防止任何使用浏览器的行为 滚去学
// @grant       GM_addStyle
// ==/UserScript==

(function(){

//=================================公共函数===================================
	function $(id){
		if(typeof id != undefined){
			return document.getElementById(id);
		}
	}
	function loadStyle(css){
    	if(typeof GM_addStyle!='undefined'){
        	GM_addStyle(css);
    	}
    	else{
        	var heads=document.getElementsByTagName('head');
        	if(heads.length>0){
            	var node=document.createElement('style');
            	node.type='text/css';
            	node.appendChild(document.createTextNode(css));
            	heads[0].appendChild(node);
        	}
    	}
	}

//=================================CSS========================================
	var cssstyle = '\
	#PlayMask{\
		left:0px !important;\
		top:0px !important;\
		position:fixed !important;\
		z-index:9999999999 !important;\
		background:rgba(248,248,248,0.9) url("http://bbs.gamefy.cn/data/attachment/album/201506/28/1958487z1feo71j5ennven.png") no-repeat center top !important;\
	}';
	loadStyle(cssstyle);

//============================================================================
	
	var mask = document.createElement('div');
	mask.id = 'PlayMask';
	window.top.document.documentElement.appendChild(mask);
	mask.style.width = document.body.clientWidth + 'px';
	mask.style.height = document.body.clientHeight + 'px';

})();