CCDarkMode

Change some styles in ChopCoin interface

目前为 2016-02-17 提交的版本。查看 最新版本

// ==UserScript==
// @name		CCDarkMode
// @namespace	HPrivakosScripts
// @description	Change some styles in ChopCoin interface
// @author		HPrivakos
// @include		http://chopcoin.io/*
// @version		0.1
// @grant		none
// ==/UserScript==

addCSS();

function addCSS(){
	var sheet = document.createElement('style')
    sheet.innerHTML = "#chopcoinlogonew {animation-name: animationcc;animation-duration: 3s;animation-delay: 1s;} #coindadiframe {animation: ads 2s infinite alternate} @keyframes animationcc {0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);}} @keyframes ads {0%  {transform: rotateY(0);} 100% {transform: rotateY(360);}}";
    document.body.appendChild(sheet);
}

function ifDark(){
    if(document.body.className == "dark"){document.body.style = "#wrapper {filter: hue-rotate(100deg) invert(1);}";}
    else {document.body.style = "#wrapper {filter: hue-rotate(0deg) invert(0);}";}
}

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址