lex392 / ClickUp Custom Background

// ==UserScript==
// @name ClickUp Custom Background
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://app.clickup.com/*
// @license MIT
// @grant none
// ==/UserScript==
//element.style {
// background-image: url(https://s1.1zoom.me/big0/35/France_Mountains_Les_Drus_le_Montenvers_France_567826_1280x853.jpg);
//}
(function() {
	'use strict';
	window.addEventListener('load', function() {
		setInterval(function(){
			var productAttr = document.getElementsByClassName('cu-dashboard__router-outlet');
				var x=0;
				for(x = 0; x < productAttr.length; x++){
					productAttr[x].style.backgroundImage = "url(https://s1.1zoom.me/big0/35/France_Mountains_Les_Drus_le_Montenvers_France_567826_1280x853.jpg)";
			}
			console.log("run"); }, 3000);
		console.log('asd');
	}, false);
})();