Gmail今日未读邮件书签
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Gmail今日未读邮件书签相关的知识,希望对你有一定的参考价值。
This is my first ever bookmarklet. It's simple and could be tightened up but it works for me (FF3 Ubuntu 8.10).Oh, by the way, what it does is load gmail (if you're signed in, which I always am) with a search for the unread messages (is:unread) of the current day (after:2009-4-7, for example).
Oh yeah. If you want to use it just create a bookmark in your browser (or del.icio.us) and use this snippet as the url.
I noticed that it doesn't always work in the current tab, but always in new tabs (via middle click, etc). Feel free to advise on how to correct that.
fixed... thanks to these good folks:
<a href="http://stackoverflow.com/questions/728079/gmail-javascript-bookmarklet">http://stackoverflow.com/questions/728079/gmail-javascript-bookmarklet</a>
javascript:void((function(){var%20t=%20new%20Date(),y=t.getFullYear(),m=t.getMonth()+1,d=t.getDate();window.location.href="http://mail.google.com/mail/#search/is%3Aunread+after%3A"+y+"-"+m+"-"+d;})())
以上是关于Gmail今日未读邮件书签的主要内容,如果未能解决你的问题,请参考以下文章
从 Gmail 中检索未读电子邮件 - JavaMail API + IMAP