kevorigamer / Google Data Studio

// ==UserScript==
// @namespace https//openuserjs.org/users/kevorigamer
// @name     Google Data Studio
// @description Presentation mode in Google Data Studio. Copy the script and update your first page title.
// @copyright 2018, kevorigamer (https//openuserjs.org/users/kevorigamer)
// @license MIT
// @version  1.0
// @include    https://datastudio.google.com/reporting/*
// @include    https://datastudio.google.com/u/*/reporting/*
// @exclude    https://datastudio.google.com/reporting/*/page/*/edit
// @exclude    https://datastudio.google.com/u/*/reporting/*/page/*/edit
// @require    https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.js
// @grant    none
// ==/UserScript==

// ==OpenUserJS==
// @author kevorigamer
// ==/OpenUserJS==

setInterval(function() {
    $(".fullscreenIcon").parent().click();
    $('.refreshIcon').parent().click();
    if(!$("span.navBtn.nextBtn").hasClass('fade')){
        $("span.navBtn.nextBtn").click();
    } else {
        $('page-item:nth-child(1)').children().click();
    }
    $('header-zone').hide();
}, 30000);