button for me tetr.JS Enhanced

21-06-21

< Feedback on button for me tetr.JS Enhanced

Review: Good - script works

ore100Author
§
Posted: 2020-08-16
Edited: 2020-08-31

/*
* tetr for via browser
* const whiteList = ['Domain Name'];
* No blank at the end of each line
* 注意每行行尾不要留空白
* delete these lines
*/
(function(){
/* const whiteList = ['farter.cn/tetr.js']; */
window.addEventListener('load', function(){
time.style.position = "absolute";
time.style.left="1.4in";time.style.bottom="3in";time.style.transform="scale(2,2)";a.style.bottom="-70px";b.style.bottom="-1.2in";c.style.bottom="-70px";
/* 分割 */
document.getElementById("touchDrop").style.backgroundColor="blue";document.getElementById("touchRotRight").style.backgroundColor="blue";document.getElementById("touchRotLeft").style.backgroundColor="blue";document.getElementById("touchRight").style.backgroundColor="blue";document.getElementById("touchLeft").style.backgroundColor="blue";document.getElementById("touchDown").style.backgroundColor="#222";document.getElementById("touchHold").style.backgroundColor="#222";document.getElementById("touchRot180").style.backgroundColor="#222";
/* 分割 */
document.getElementById("touchDrop").style.marginLeft="119px";document.getElementById("touchRotRight").style.marginLeft="209px";document.getElementById("touchRotLeft").style.marginLeft="141px";document.getElementById("touchRight").style.marginLeft="-181px";document.getElementById("touchLeft").style.marginLeft="-65px";document.getElementById("touchDown").style.marginLeft="108px";document.getElementById("touchHold").style.marginLeft="0px";document.getElementById("touchRot180").style.marginLeft="0px";
/* 分割 */
document.getElementById("touchDrop").style.marginTop="48px";document.getElementById("touchRotRight").style.marginTop="230px";document.getElementById("touchRotLeft").style.marginTop="308px";document.getElementById("touchRight").style.marginTop="-20px";document.getElementById("touchLeft").style.marginTop="-19px";document.getElementById("touchDown").style.marginTop="-98px";document.getElementById("touchHold").style.marginTop="69px";document.getElementById("touchRot180").style.marginTop="242px";
/* 分割 */
document.getElementById("touchDrop").style.maxWidth="76px";document.getElementById("touchRotRight").style.maxWidth="68px";document.getElementById("touchRotLeft").style.maxWidth="68px";document.getElementById("touchRight").style.maxWidth="68px";document.getElementById("touchLeft").style.maxWidth="76px";
/* 分割 */
document.getElementById("touchDrop").style.paddingBottom="22px";document.getElementById("touchRotRight").style.paddingBottom="22px";document.getElementById("touchRotLeft").style.paddingBottom="22px";document.getElementById("touchRight").style.paddingBottom="22px";document.getElementById("touchLeft").style.paddingBottom="22px";
});
})();



//* tetr for lit *//
time.style.position = "absolute";time.style.left="1.4in";time.style.bottom="3in";time.style.transform="scale(2,2)";a.style.bottom="-126px";b.style.bottom="-1.62in";c.style.bottom="-1.4in";
/* 分割 */
document.getElementById("touchDrop").style.backgroundColor="blue";document.getElementById("touchRotRight").style.backgroundColor="blue";document.getElementById("touchRotLeft").style.backgroundColor="blue";document.getElementById("touchRight").style.backgroundColor="blue";document.getElementById("touchLeft").style.backgroundColor="blue";document.getElementById("touchDown").style.backgroundColor="#222";document.getElementById("touchHold").style.backgroundColor="#222";document.getElementById("touchRot180").style.backgroundColor="#222";
/* 分割 */
document.getElementById("touchDrop").style.marginLeft="119px";document.getElementById("touchRotRight").style.marginLeft="209px";document.getElementById("touchRotLeft").style.marginLeft="141px";document.getElementById("touchRight").style.marginLeft="-181px";document.getElementById("touchLeft").style.marginLeft="-65px";document.getElementById("touchDown").style.marginLeft="108px";document.getElementById("touchHold").style.marginLeft="0px";document.getElementById("touchRot180").style.marginLeft="0px";
/* 分割 */
document.getElementById("touchDrop").style.marginTop="48px";document.getElementById("touchRotRight").style.marginTop="250px";document.getElementById("touchRotLeft").style.marginTop="330px";document.getElementById("touchRight").style.marginTop="-20px";document.getElementById("touchLeft").style.marginTop="-19px";document.getElementById("touchDown").style.marginTop="-91px";document.getElementById("touchHold").style.marginTop="96px";document.getElementById("touchRot180").style.marginTop="269px";
/* 分割 */
document.getElementById("touchDrop").style.maxWidth="76px";document.getElementById("touchRotRight").style.maxWidth="68px";document.getElementById("touchRotLeft").style.maxWidth="68px";document.getElementById("touchRight").style.maxWidth="68px";document.getElementById("touchLeft").style.maxWidth="76px";
/* 分割 */
document.getElementById("touchDrop").style.paddingBottom="22px";document.getElementById("touchRotRight").style.paddingBottom="22px";document.getElementById("touchRotLeft").style.paddingBottom="22px";document.getElementById("touchRight").style.paddingBottom="22px";document.getElementById("touchLeft").style.paddingBottom="22px";
/* End */

Post reply

Sign in to post a reply.