views:

72

answers:

1

As gmail and the task api is not available everywhere (eg: some companies block gmail but not calendar), is there a way to scrap google task through the calendar web interface ?

I did a userscript like the one below, but I find it too brittle :

// List of div to hide
idlist = [
    'gbar',
    'logo-container',
    ...
];

// Hiding by id
function displayNone(idlist) {
    for each (id in idlist) {
        document.getElementById(id).style.display = 'none';
    }
}
A: 

Maybe. What have you tried? Sorry SO isn't a requirements => code engine.

Byron Whitlock
I've tried to do a greasmonkey/jquery script that .hide() all the unnecessary calendar divs, but I don't like this solution (its brittle). I've tried to look at the google-calendar js code, to understand the ajax call, but it was way too complicated. If there is a more simple/clean way to access to my data it would be great.
ideotop