DH3 Friend/Ignore List Upsidedownifier

Puts the add/cancel buttons in friends and ignore list at the top so you don't have to scroll so much.

  1. // ==UserScript==
  2. // @name DH3 Friend/Ignore List Upsidedownifier
  3. // @namespace com.anwinity.dh3
  4. // @version 1.0.0
  5. // @description Puts the add/cancel buttons in friends and ignore list at the top so you don't have to scroll so much.
  6. // @author Anwinity
  7. // @match dh3.diamondhunt.co
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. $("#dialogue-friends-list").append($("#dialogue-friends-list-section"));
  15. $("#dialogue-friends-list > hr").hide();
  16. $("#dialogue-friends-list #dialogue-text-input-cancel").css("margin-bottom", "1em");
  17.  
  18. $("#dialogue-ignore-list").append($("#dialogue-ignore-list-section"));
  19. $("#dialogue-ignore-list > hr").hide();
  20. $("#dialogue-ignore-list #dialogue-text-input-cancel").css("margin-bottom", "1em");
  21.  
  22. })();