Amboss No Distractions

Automatically hide all distractions and maximize your reading area in Miamed Amboss cards.

目前为 2016-09-04 提交的版本。查看 最新版本

// ==UserScript==
// @name         Amboss No Distractions
// @namespace    http://oix.cc/gm
// @description  Automatically hide all distractions and maximize your reading area in Miamed Amboss cards.
// @author       Bin Zhang
// @homepageURL  http://oix.cc/amboss
// @version      0.0.1
// @match        https://amboss.miamed.de/library
// @include      http://amboss-miamed-de.ezproxy.*/library
// @include      https://amboss-miamed-de.ezproxy.*/library
// @run-at       document-idle
// ==/UserScript==

(function(){
angular.element("#amboss-menu").click();
LibrarySideMenu.toggleSidemenu();
angular.element('#LearningCard').scope().triggerKeyEvent(32);
angular.element('#LearningCard').scope().triggerKeyEvent(32);
}());