Change some styles in ChopCoin interface
当前为
// ==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);}";}
}