Miamed Amboss No Distractions

Automatically hide all distractions and maximize your reading area.

当前为 2016-09-04 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Miamed Amboss No Distractions
  3. // @namespace http://oix.cc/gm
  4. // @description Automatically hide all distractions and maximize your reading area.
  5. // @author Bin Zhang
  6. // @homepageURL http://oix.cc/amboss
  7. // @version 0.0.1
  8. // @match https://amboss.miamed.de/library
  9. // @include http://amboss-miamed-de.ezproxy.*/library
  10. // @include https://amboss-miamed-de.ezproxy.*/library
  11. // @run-at document-end
  12. // ==/UserScript==
  13.  
  14. (function(){
  15. angular.element("#amboss-menu").click();
  16. LibrarySideMenu.toggleSidemenu();
  17. angular.element('#LearningCard').scope().triggerKeyEvent(32);
  18. }());