Skip to content

Instantly share code, notes, and snippets.

View claus's full-sized avatar
🎅

Claus Wahlers claus

🎅
View GitHub Profile
@claus
claus / ProtonMailUnreadMessageCount.js
Last active June 6, 2022 07:17 — forked from TChilderhose/ProtonMailUnreadMessageCount.js
ProtonMail Unread Message Count in Favicon
// ==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==
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;
@claus
claus / frames_ratio_multi.swf.txt
Created February 5, 2012 14:37 — forked from hausdeployer/frames_ratio_multi.swf.txt
SWF PlaceObject and Ratio on Sprites
[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]