// Delete-n-Prev: Delete currnet message and move to Previous message
// Bookmarklet to load Delete-n-Prev.txt
//javascript:(function(){if(location.host.indexOf('runbox')<0){alert('Not a Runbox site!')}else{n=self.name;r=/Runbox/;if(n.match(r)){n=n.replace(r,'Delete-n-Prev')}else{n=''}wn=window.open('',n,'resizable,scrollbars,width=200,height=50,left='+(screen.width-200-8)+',top=0');(D=wn.document).write('
Delete-n-Prev');if(navigator.userAgent.indexOf('Opera')>=0)D.close();}})();
tmout=60;
cls=1;
wf='width='+(screen.width-100)+',height=200,left=50,top=50,resizable=yes';
nxt='';
function rNbX2(){
if(wn.document.forms && wn.document.forms.length>0 && wn.document.forms['list']){
clearInterval(tid);
if(cls){wn.close()}
opener.location.href=nxt
self.close();
}else{
if(tmr>=tmout){
clearInterval(tid);
alert('Timeout');
if(cls){wn.close()}
opener.location.href=nxt
self.close();
}
tmr++
}
}
if((((L=opener.location.href).indexOf('/mail/read'))>0) && ((L.indexOf('message=null'))<0)){
K=opener.document.links;
for(i=0;iDeleting Message
Please Wait...');
document.close();
}else{
alert('Not Reading A Message!')
self.close();
}