Created
June 15, 2020 11:08
-
-
Save ncwhale/5311c4e8afb26555de84dbf53a2e51d2 to your computer and use it in GitHub Desktop.
Plugin for arealme.com/colors/zh/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ZhongChuPanTu(){let l=document.querySelector("#box");if("none"===l.children[0].style.display)return;let r="";if(l.children[0].style.backgroundColor!=l.children[1].style.backgroundColor)return l.children[0].style.backgroundColor==l.children[2].style.backgroundColor?void l.children[1].click():(l.children[0].click(),l.children[0]);r=l.children[0].style.backgroundColor;for(let o of l.children)if(o.style.backgroundColor!=r)return void o.click()}ZhongChuPanTu(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment