clock ore minuti secondi millesimi data
当前为
// ==UserScript==
// @name Clock figuccio
// @description clock ore minuti secondi millesimi data
// @version 1.4
// @include *
// @noframes
// @author figuccio
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_registerMenuCommand
// @icon data:image/gif;base64,R0lGODlhEAAQAKECABEREe7u7v///////yH5BAEKAAIALAAAAAAQABAAAAIplI+py30Bo5wB2IvzrXDvaoFcCIBeeXaeSY4tibqxSWt2RuWRw/e+UQAAOw==
// @namespace https://gf.qytechs.cn/users/237458
// ==/UserScript==
/*inserire questo per disattivare alcune funzioni allinizio e alla fine del codice short long*/
function updateClock() {
let options = {'day':'2-digit','year':'numeric','month':'long','weekday':'long',hour:'2-digit',minute:'numeric',second:'numeric',};
let time = new Date().toLocaleString('it-IT', options);
let d = new Date();
let milli = d.getMilliseconds()
node.innerHTML = time+ ":" +milli;
}
let node = document.createElement('div');
node.setAttribute("style", "bottom: ;padding:4px;background:red;color:white;font-family:sans-serif;font-size:14px;top:0;right:0;position:fixed;text-align:center;z-index:999999;border-radius:10px;border:2px solid blue;");
document.body.appendChild(node);
setInterval(() => updateClock(), 70);
//mostra nascondi time
function myFunction1() {
if (node.style.display === 'none') {
node.style.display = 'block';
} else {
node.style.display = 'none';
}
}
GM_registerMenuCommand("mostra/nascondi",myFunction1);
function myFunction10() {
if (node.style.margin === '593px 0px') {
node.style.margin = '0px';
} else {
node.style.margin = '593px 0px';
}
}
GM_registerMenuCommand("giu ►su ►",myFunction10);
function myFunction1f() {
if (node.style.margin === '0px 1259px') {
node.style.margin = '539px 1259px';
} else {
node.style.margin = '0px 1259px';
}
}
GM_registerMenuCommand("left su◄left giu◄",myFunction1f);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址