This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Gmail Quick Filter | |
// @description A filter assistant for Gmail. | |
// @author 1nfected | |
// @version 0.3.5 | |
// @namespace 1nfected | |
// @license CC by-nc-sa http://creativecommons.org/licenses/by-nc-sa/3.0/ | |
// @include http://mail.google.com/* | |
// @include https://mail.google.com/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ========================= | |
// SetInterval | |
// ========================= | |
// While not truly accurate, setInterval is still fairly good, time-wise. | |
// Better for things like a "one second tick" but not great for expensive | |
// code executed at small intervals as iterations can "stack". | |
// (ECMAScript 5 strict mode compatible) |