gistfile1.txt
· 751 B · Text
Surowy
// ==UserScript==
// @name Auto Refresh
// @namespace http://tampermonkey.net/
// @version 2026-04-08
// @description try to take over the world!
// @author You
// @match https://dyandraglobalstore-02.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=dyandraglobalstore-02.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Set your target datetime here (YYYY, MM-1, DD, HH, MM, SS)
const targetDate = new Date(2026, 3, 9, 15, 0, 0); // April 8, 2026 at 3:00:00 PM
const now = new Date();
const delay = targetDate.getTime() - now.getTime();
if (delay > 0) {
setTimeout(() => {
location.reload();
}, delay);
}
})();
| 1 | // ==UserScript== |
| 2 | // @name Auto Refresh |
| 3 | // @namespace http://tampermonkey.net/ |
| 4 | // @version 2026-04-08 |
| 5 | // @description try to take over the world! |
| 6 | // @author You |
| 7 | // @match https://dyandraglobalstore-02.com/* |
| 8 | // @icon https://www.google.com/s2/favicons?sz=64&domain=dyandraglobalstore-02.com |
| 9 | // @grant none |
| 10 | // ==/UserScript== |
| 11 | |
| 12 | |
| 13 | (function() { |
| 14 | 'use strict'; |
| 15 | |
| 16 | // Set your target datetime here (YYYY, MM-1, DD, HH, MM, SS) |
| 17 | const targetDate = new Date(2026, 3, 9, 15, 0, 0); // April 8, 2026 at 3:00:00 PM |
| 18 | |
| 19 | const now = new Date(); |
| 20 | const delay = targetDate.getTime() - now.getTime(); |
| 21 | |
| 22 | if (delay > 0) { |
| 23 | setTimeout(() => { |
| 24 | location.reload(); |
| 25 | }, delay); |
| 26 | } |
| 27 | })(); |