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 ProtonMail Unread Message Count in Favicon | |
// @description Shows the number of unread ProtonMail messages in the FavIcon | |
// @version 1.2 | |
// @author Tyler Childerhose, Claus Wahlers | |
// @homepageURL https://gist.github.com/claus/e92b3b4a3ac6c0ddb4cdb71ad6797fcf | |
// @match https://mail.proton.me/* | |
// @grant none | |
// ==/UserScript== |
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
import flash.utils.Dictionary; | |
var key; | |
var dict = new Dictionary(); | |
dict['0'] = true; | |
dict['1'] = true; | |
dict['2'] = true; | |
dict['3'] = true; | |
dict['4'] = true; | |
var count:int = 3; |
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
[83:DefineShape4] ID: 1 | |
[39:DefineSprite] ID: 2, FrameCount: 1 | |
[39:DefineSprite] ID: 3, FrameCount: 20 | |
[26:PlaceObject2] Depth: 1, CharacterID: 3 | |
[01:ShowFrame 1] | |
[01:ShowFrame 2] | |
[01:ShowFrame 3] | |
[01:ShowFrame 4] | |
[01:ShowFrame 5] | |
[01:ShowFrame 6] |