var ankiPlatform = "desktop"; var typeans; var qFade = 100; var aFade = 0; var onUpdateHook; var onShownHook; function _runHook(arr) { for (var i=0; i