Greasy Fork

transparent hat shop

The hat menu will be transperent. Not fully tranparent but you can see trough it better!

目前为 2022-04-12 提交的版本。查看 最新版本

// ==UserScript==
// @name         transparent hat shop
// @namespace    https://greasyfork.org/en/users/752105-w4it
// @version      v2.1.0
// @description  The hat menu will be transperent. Not fully tranparent but you can see trough it better!
// @author       W4IT
// @match        *://*.sploop.io/*
// @grant        none
// ==/UserScript==
document.getElementById('hat-menu').style.background = "rgba(0,0,0,0)"
document.getElementById("hat_menu_content").style.background = "rgba(0,0,0,0)"
var styleItem1 = document.createElement("style");
styleItem1.type = "text/css";
styleItem1.appendChild(document.createTextNode(`
.green-button {
	background-color: rgba(0,0,0,0);
	box-shadow:none;
}
.subcontent-bg {
	border-radius: 10px;
	margin: 20px 0 30px 0;
	border: none;
	box-shadow: none;
}
.menu .content .menu-item .menu-pricing .action {
	border: none;
}
.menu .content .menu-item {
	border-bottom: none;
}
#hat-menu {
	border: none;
	opacity: 0.7;
}
`))
document.head.appendChild(styleItem1);