20-07-22
当前为
// ==UserScript==
// @name button for me tetr.JS Enhanced
// @namespace http://tampermonkey.net/
// @version 1.9
// @author ore100
// @description 20-07-22
// @match http://farter*/t*
// @match http*://*/tetr.js*
// @match https://doktorocelot.com/tetr.js/
// @grant none
// ==/UserScript==
(function() {
window.addEventListener('load', function(){
if(typeof trim != "function"){var trim=a=>{a=a.slice(0,-1);a=a.substr(a.indexOf("{")+1);return a}}
{p=document.getElementById("touchDrop").style;
p.marginLeft="122px";
p.marginTop="47px";
p.maxWidth="70px";
p.paddingBottom="22px";
p.backgroundColor="#777";console.log(p)};
{c=document.getElementById("touchRotRight").style;
c.marginLeft="115px";
c.marginTop="47px";
c.maxWidth="69px";
c.paddingBottom="22px";
c.backgroundColor="#777";console.log(c)};
{w=document.getElementById("touchRotLeft").style;
w.marginLeft="142px";
w.marginTop="22px";
w.maxWidth="69px";
w.paddingBottom="22px";
w.backgroundColor="#777";console.log(w)};
{r=document.getElementById("touchRight").style;
r.marginLeft="-181px";
r.marginTop="-20px";
r.maxWidth="69px";
r.paddingBottom="22px";
r.backgroundColor="#777";console.log(r)};
{l=document.getElementById("touchLeft").style;
l.marginLeft="-59px";
l.marginTop="-20px";
l.maxWidth="70px";
l.paddingBottom="22px";
l.backgroundColor="#777";console.log(l)};
{d=document.getElementById("touchDown").style;
d.marginLeft="120px";
d.marginTop="-111px";
d.maxWidth="69px";
d.paddingBottom="22px";
d.backgroundColor="#777";console.log(d)};
{h=document.getElementById("touchHold").style;
h.marginLeft="-132px";
h.marginTop="-118px";
h.maxWidth="69px";
h.paddingBottom="22px";
h.backgroundColor="#777";console.log(h)};
{o=document.getElementById("touchRot180").style;
o.marginLeft="-36px";
o.marginTop="-80px";
o.maxWidth="69px";
o.paddingBottom="22px";
o.backgroundColor="red";console.log(o)};
});
})();
//width360 on pc chrome dev tool