so as you about to learn, I don't know javascript, but this seems like it should work:
var whitelistURLPartials = ["ae\=Folder","ae\=Item\&t\=IPM\.Note"];
var current = window.location.href;
for (var whitelist in whitelistURLPartials)
{
if(current.match(whitelist))
{
window.setTimeout(function(){document.location.reload(true)},1000*60);
break;
}
}
but i get 6: ReferenceError: Can't find variable: whitelistURLPartials
this is in a safari extension if it matters.
EDIT:
It seems that Safari was keeping every version of the .js file from every changed version of the extension loaded. I had to restart Safari to clear them.