Not signed in (Sign In)

The Intervals Forum

Categories

Vanilla is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.

Tips & Tricks

Intervals Lean GM Script

Bottom of Page

1 to 1 of 1

  1.  
    •  
      CommentAuthorjprado
    • CommentTimeSep 28th 2009 edited @ 09/28/2009 11:01 am
     
    I use this script to expand the viewable area of Intervals. It uses Greasemonkey plugin for Firefox (and Chrome) to insert some css that makes intervals maximize to the whole browser window. I would post a screenshot, but I couldn't get one without displaying a bunch of internal-only tasks to the whole world.

    Copy and install if you think it would be useful to you:

    // ==UserScript==
    // @name Intervals Lean
    // @namespace Intervals
    // @description Maximizes overall viewing area of Intervals. Also contains some
    // @version 0.1
    // @include https://*.intervalsonline.com/*
    // @include https://*.projectaccount.com/*
    // @include https://*.timetask.com/*
    // ==/UserScript==


    var style = "";
    style+= "div#container { padding-top: 0; }";
    style+= "div#brandCell, div#globalIconCell { padding-bottom: 0; }";
    style+= "td.noteLeft img { display: none; } ";
    style+= "div#allLeft { background: none; padding-left: 0 } ";
    style+= "div#allRight { background: none; padding-right: 0 } ";
    style+= "div#all { margin: 0 } ";
    style+= "div#allFooter { display:none; ";
    style+= "body { background: #fff; } ";
    style+= "table.newTable { width: 100%; } ";

    var head=document.getElementsByTagName("HEAD")[0];
    var el=window.document.createElement('link');
    el.rel='stylesheet';
    el.type='text/css';
    el.href='data:text/css;charset=utf-8,'+escape(style);
    head.appendChild(el);