Greasy Fork 支持简体中文。

rabbit flush

goal of this script is to make fullcreen great again

目前為 2017-12-02 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name rabbit flush
  3. // @namespace hebiohime
  4. // @description goal of this script is to make fullcreen great again
  5. // @include *://www.rabb.it/*
  6. // @version 1
  7. // @grant none
  8. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
  9. // @run-at document-end
  10. // ==/UserScript==
  11.  
  12. document.onkeydown = function(evt) {
  13. if (evt.keyCode == 72) {
  14. var elem = document.getElementsByClassName("roomControlsLayoutView")[0];
  15. if(elem.style.display == "block"){
  16. elem.style.display="none";
  17. } else {
  18. elem.style.display="block";
  19. }
  20. }};