Enstyler Frontend and enhanced features
当前为
// ==UserScript==
// @name Enstyler
// @namespace Enstyler
// @description Enstyler Frontend and enhanced features
// @include http://www.mydealz.de/*
// @include https://www.mydealz.de/*
// @version 2.10.22
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_log
// @grant GM_info
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==
// ceate enytler "button"
var input = document.createElement('input');input.type = 'button';
input.value = 'Enstyler';
input.setAttribute('style', 'color: grey; position:absolute; top:11.1em; right:1.1em; z-index: 199;');
input.onclick = showEnstyler;
document.body.appendChild(input);
function showEnstyler() { window.open('https://userstyles.org/styles/128262', "Enstyler", "height=800,width=600"); }
// hide entyler (c) text
addStyleString('.threadWidget-footer::after {display: none !important}');
// add sytle to shown document
function addStyleString(str) {
var node = document.createElement('style');
node.innerHTML = str;
document.body.appendChild(node);
}