AoA:GE

Age of Aincrad: Guild Edition

  1. // ==UserScript==
  2. // @name AoA:GE
  3. // @description Age of Aincrad: Guild Edition
  4. // @include http://age-of-aincrad.com/game/?GameUI*
  5. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
  6. // @version 1.0
  7. // @author Haranobu
  8. // @grant GM_addStyle
  9. // @namespace https://greasyfork.org/scripts/492-aoa-ge
  10. // ==/UserScript==
  11.  
  12. GM_addStyle ( " \
  13. body {\
  14. margin: 0px;\
  15. background: url('http://img4.wikia.nocookie.net/__cb20121223021437/swordartonline/images/4/40/Aincard_in_ALO.png') top center / 100% auto transparent !important;\
  16. height: 100% !important;\
  17. }\
  18. span{\
  19. font-family:aoaui;\
  20. color:#FFF !important;\
  21. font-size:30px;\
  22. }\
  23. p{\
  24. padding-top:2px;\
  25. font-family:aoaui;\
  26. color:#FFF !important;\
  27. }\
  28. #Profile_Container{\
  29. position:fixed;\
  30. padding-top:74px;\
  31. font-family:aoaiu;\
  32. display: inline-block;\
  33. padding-left:30px;\
  34. height:64px;\
  35. width:1000px !important;\
  36. border-radius:50px;\
  37. }\
  38. #Name_Container{\
  39. font-family:aoaiu;\
  40. color:#333;\
  41. height:94px;\
  42. width:450px;\
  43. display: inline-block;\
  44. vertical-align: middle;\
  45. border-radius:0px;\
  46. background:url('http://i.imgur.com/ZbX4E1E.png') no-repeat !important;\
  47. background-position:0px -20px !important;\
  48. }\
  49. #Name_Container>p{\
  50. margin: 5px -284px 10px 290px !important;\
  51. display: inline-block !important;\
  52. font-size:9px !important;\
  53. }\
  54. #Name_Container>p:nth-child(2){\
  55. font-size:10px !important;\
  56. margin: -5px -284px 10px 39px !important;\
  57. position: absolute;\
  58. }\
  59. #Name_Container>p:nth-child(3){\
  60. font-size:15px !important;\
  61. margin: 5px -280px 10px 300px !important;\
  62. position: absolute;\
  63. text-transform:uppercase;\
  64. word-spacing:1px;\
  65. letter-spacing:1px\
  66. text-align: center;\
  67. }\
  68. #Name_Container>span{\
  69. margin-top:6px !important;\
  70. margin-left:38px !important;\
  71. right:20px !important;\
  72. display:block !important;\
  73. font-size:21px !important;\
  74. }\
  75. #Profile_Container{\
  76. position:fixed !important;\
  77. padding-top:20px !important;\
  78. font-family:aoaiu !important;\
  79. display: inline-block !important;\
  80. padding-left:20px !important;\
  81. height:64px !important;\
  82. width:1000px !important;\
  83. border-radius:50px !important;\
  84. }\
  85. .Player_Icon{\
  86. font-family:aoaiu !important;\
  87. border:1px solid #e2e2e2 !important;\
  88. border-radius:50px !important;\
  89. height:50px !important;\
  90. width:50px !important;\
  91. box-shadow: 0px 0px 10px #000;\
  92. -webkit-transition: all 0.5s ease-out;\
  93. -moz-transition: all 0.5s ease-out;\
  94. -o-transition: all 0.5s ease-out;\
  95. }\
  96. .Player_Icon:hover{\
  97. font-family:aoaiu !important;\
  98. border:1px solid #ffb31f !important;\
  99. border-radius:50px !important;\
  100. height:50px !important;\
  101. width:50px !important;\
  102. box-shadow: 0px 0px 10px #000;\
  103. }\
  104. .window {\
  105. background: none repeat scroll 0% 0% #FFF;\
  106. display: none;\
  107. font-size: 16px;\
  108. box-shadow: 0px 0px 10px 2px #616161;\
  109. opacity: 0.8;\
  110. }\
  111. #Version_Container {\
  112. color: #FFF\
  113. }\
  114. #haranobu {\
  115. position: fixed;\
  116. bottom: 0px;\
  117. right: 5px;\
  118. font-family: sans-serif;\
  119. font-size: 10px;\
  120. color: #FFF\
  121. }\
  122. a {\
  123. color: #286fff;\
  124. text-decoration:none;\
  125. }\
  126. #UI_Me_w {\
  127. color: #000;\
  128. height: 429px !important;\
  129. width: 270px !important;\
  130. background: url('http://i.imgur.com/xmBuf3p.png') no-repeat;\
  131. box-shadow: 0px 0px 0px 0px #616161 !important;\
  132. }\
  133. #UI_Me_w>h1{\
  134. margin: 0px;\
  135. height: 30px;\
  136. padding: 20px;\
  137. font-family: aoaui;\
  138. font-size: 20px;\
  139. background: none repeat scroll 0% 0% !important;\
  140. box-shadow: 0px 0px 0px 0px #616161 !important;\
  141. margin-left: -22px;\
  142. margin-top: -5px;\
  143. top: 6px !important;\
  144. left: 1100px !important;\
  145. }\
  146. #CInfo {\
  147. margin-left: -22px;\
  148. }\
  149. #Item {\
  150. background: url('http://i.imgur.com/1Z4Kp8Q.png') no-repeat;\
  151. font-family: aoaui;\
  152. font-size: 20px;\
  153. text-align: center;\
  154. position: unset !important;\
  155. background-position: 26px;\
  156. margin-top: 30px;\
  157. margin-right: 17px;\
  158. }\
  159. #Items {\
  160. font-family: aoaui;\
  161. font-size: 12px;\
  162. position: unset !important;\
  163. text-align: left;\
  164. margin-left: 35px;\
  165. }\
  166. .buttonholder {\
  167. height: 54px !important;\
  168. }\
  169. " );
  170.  
  171. $("body").append ( '\
  172. <div id="haranobu">\
  173. GM © <a href="http://age-of-aincrad.com/forum/members/haranobu.4401/">Haranobu</a>\
  174. </div>\
  175. <script language=\"JavaScript\">\
  176. function setHide(id, visibility) {\
  177. document.getElementById(id).style.display = visibility;\
  178. }\
  179. </script>\
  180. ' );
  181.  
  182. element = document.getElementById("UI_Me_w");
  183. element.innerHTML = "<h1>Account</h1>\
  184. <img src=\"http://i.imgur.com/qsarM4U.png\" id=\"CInfo\" />\
  185. <div id=\"Item\">Active Equipment</div>\
  186. <div id=\"Items\">\
  187. <ul>\
  188. <li>Sword of Two Hands</li>\
  189. <li>Armor of Paradise</li>\
  190. <li>Shield of Thanatos</li>\
  191. <li>Dagger of Devil</li>\
  192. </div>\
  193. <a href=\"#\" id=\"UI_Edit\" onmouseover=\"mouseoversound.playclip()\"><img src=\"images/ui/close.png\" onclick=\"setHide('UI_Me_w', 'none');\" style=\"margin-left: 170px; margin-top: -22px;\"></a>";