Last active
November 24, 2023 09:27
-
-
Save mirsella/fd9b21b89ab631542383ca818f75bf30 to your computer and use it in GitHub Desktop.
42 auto reload slots
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
// ==UserScript== | |
// @name auto reload | |
// @namespace Violentmonkey Scripts | |
// @match https://projects.intra.42.fr/projects/*/slots | |
// @grant none | |
// @version 1.0 | |
// @author mirsella | |
// @description 4/17/2023, 4:07:14 PM | |
// ==/UserScript== | |
window.scroll(0, 1000) | |
setTimeout(() => { | |
let tab = document.querySelector('.fc-scroller') | |
tab.scrollIntoView() | |
tab.scroll(0, 500) // 10-18h30 | |
//tab.scroll(0, 700) | |
//tab.scroll(0, 1000) // to end of day | |
}, 500) | |
setTimeout(() => location.reload(), 15000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment