Automatically clears the console log every 10 seconds. Interval is defined as a constant variable.
// ==UserScript==
// @name Auto Clear Console Log
// @namespace https://spin.rip/
// @version 1.1
// @description Automatically clears the console log every 10 seconds. Interval is defined as a constant variable.
// @author Spinfal
// @match *://*/*
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
const CLEAR_INTERVAL = 10000; // Interval in milliseconds
setInterval(() => {
console.clear();
}, CLEAR_INTERVAL);
})();