Starve.io - Auto Skipper for ads

try to take over the world!

// ==UserScript==
// @name         Starve.io - Auto Skipper for ads
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        *://starve.io/
// @match        *://starve.io/*/
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    const main = () => {
        const e = document.getElementsByClassName("ympb_video_skip")[0];
        if(e) e.click();
    };
    setInterval(main,500);
})();