Dawn of the Dragons ArmorInterfaceSimplifier

Removes nonessential elements from the AG interface

  1. // ==UserScript==
  2. // @name Dawn of the Dragons ArmorInterfaceSimplifier
  3. // @namespace voorash
  4. // @description Removes nonessential elements from the AG interface
  5. // @include http://armorgames.com/dawn-of-the-dragons-game/13509
  6. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js
  7. // @version 1.5
  8. // @grant none
  9. // ==/UserScript==
  10. _sf_startpt=0;
  11. $(".game-header").remove();
  12. $(".game-secondary").remove();
  13. $(".subscriptions-ad").remove();
  14. $("#premium-info-modal").remove();
  15. $("#ag3-header").remove();
  16. $("#footer").remove();
  17.  
  18.  
  19. $("#content-canvas").css("position","fixed");
  20. $("#content-canvas").css("top",($(window).height()-690)/2+"px");
  21. $("#content-canvas").css("left",($(window).width()-1025)/2+"px");