Kongregate+ *OLD*

This script overhauls Kongregate to make it look and function much better than it currently does.

  1. // ==UserScript==
  2. // @name Kongregate+ *OLD*
  3. // @namespace http://userstyles.org
  4. // @description This script overhauls Kongregate to make it look and function much better than it currently does.
  5. // @author Pxl_Buzzard
  6. // @homepage https://userstyles.org/styles/15181
  7. // @include http://kongregate.com/*
  8. // @include https://kongregate.com/*
  9. // @include http://*.kongregate.com/*
  10. // @include https://*.kongregate.com/*
  11. // @run-at document-start
  12. // @version 0.20110716221447
  13. // ==/UserScript==
  14.  
  15. (function() {var css = [
  16. "body {",
  17. "",
  18. " margin: 0 auto !important;",
  19. " max-width: 1000px !important;",
  20. " background-color: #FFFFFF !important; ",
  21. " }",
  22. "",
  23. "div[class=\"horizontal_ad ad\"],",
  24. "div[id=\"feature_header\"],",
  25. "div[id=\"kong_home_bf_297x150\"],",
  26. "div[id=\"google_ads_div_kong_game_af_728x90\"],",
  27. "div[id=\"google_ads_div_kong_home_bf_297x150\"],",
  28. "div[id=\"google_ads_div_kong_home_af_336x60\"],",
  29. "div[class=\"horizontal_ad ad\"],",
  30. "div[class=\"horizontal_ad ad\"],",
  31. "[src*=\"doubleclick.net\"],",
  32. "[href*=\"doubleclick.net\"],",
  33. "#gs_network,",
  34. "div[class=\"question_points\"],",
  35. "div[class=\"horizontal_ad ad hide_ad_always\"],",
  36. "dl.share,",
  37. "div[class=\"square_ad ad\"] {",
  38. "",
  39. " display: none !important;",
  40. " }",
  41. "",
  42. "div[id=\"welcome\"] {",
  43. "",
  44. " background: #2D2D2D !important;",
  45. " margin-bottom: 0px !important;",
  46. " border-left: 5px solid #000000;",
  47. " border-right: 5px solid #000000;",
  48. " border-top: 5px solid #000000;",
  49. " padding-right: 1px !important;",
  50. " }",
  51. "",
  52. "div[id=\"welcome\"] a {",
  53. "",
  54. " text-decoration: none !important;",
  55. " }",
  56. "",
  57. "div[id=\"welcome\"] ul {",
  58. "",
  59. " margin-left: 30px !important;",
  60. " }",
  61. "",
  62. "div[id=\"welcome\"] h3 {",
  63. "",
  64. " font-size: 16px !important;",
  65. " margin: -1px 0 5px 80px !important;",
  66. " }",
  67. "",
  68. "div[id=\"header_logo\"] {",
  69. "",
  70. " margin-bottom: 10px !important;",
  71. " }",
  72. "",
  73. "#welcome a#levelbug {",
  74. "",
  75. " margin-right: -3px !important;",
  76. " }",
  77. "",
  78. "img[id=\"user_avatar\"] {",
  79. "",
  80. " margin: 0px 10px 3px 0 !important;",
  81. " }",
  82. "",
  83. "#global .sitemessage {",
  84. "",
  85. " background-color: #DD0000 !important;",
  86. " color: #FFF !important;",
  87. " text-align: center;",
  88. " border: 2px solid #AA0000 !important;",
  89. " border-radius: 4px;",
  90. " font-size: 12px !important;",
  91. " }",
  92. "",
  93. "ul[id=\"gameutility\"] {",
  94. "",
  95. " padding: 0 0 5px 85px !important;",
  96. " }",
  97. "",
  98. "dl.rate {",
  99. "",
  100. " margin-bottom: 8px !important;",
  101. " }",
  102. "",
  103. "body#profile .achievements_wrapper {",
  104. "",
  105. " border: 2px solid #000000 !important;",
  106. " border-radius: 6px;",
  107. " }",
  108. " ",
  109. "div[id=\"game_info\"],",
  110. "div[id=\"game_description\"],",
  111. "div[id=\"game_instructions\"],",
  112. "div[id=\"game_tipjar\"] {",
  113. "",
  114. " border: 2px solid #999 !important;",
  115. " border-radius: 6px;",
  116. " }",
  117. "",
  118. "div[class=\"chat_promotion\"] {",
  119. "",
  120. " border: 2px solid #999 !important;",
  121. " border-radius: 5px;",
  122. " }",
  123. "",
  124. "body#profile #achievements .badge_details {",
  125. "",
  126. " background: #333333 !important;",
  127. " }",
  128. "",
  129. "li.profile_invite,",
  130. "li.profile_invite a,",
  131. "li.profile_invite strong,",
  132. "li.profile_invite span {",
  133. "",
  134. " background: #660000 !important;",
  135. " border-radius: 5px;",
  136. " }",
  137. "",
  138. "li.profile_invite:hover,",
  139. "li.profile_invite a:hover,",
  140. "li.profile_invite strong:hover,",
  141. "li.profile_invite span:hover {",
  142. "",
  143. " background: #AA0000 !important;",
  144. " border-radius: 5px;",
  145. " }",
  146. "",
  147. ".game .thumb,",
  148. ".featured_game_info {",
  149. "",
  150. " border-radius: 2px 2px 0 0; ",
  151. " }",
  152. "",
  153. "#memberinfo a,",
  154. "div[id=\"favorites\"] a,",
  155. "div[id=\"cards\"] a,",
  156. "div[id=\"friends\"] a,",
  157. "body#profile #achievements .badge_details a,",
  158. "div[id=\"fans\"] a,",
  159. "div[id=\"achievement\"] a,",
  160. "h3.creatorinfo span a,",
  161. "div[id=\"listings\"] a,",
  162. "ul[class=\"manage_contacts\"] a,",
  163. "#kong_game_ui ul.achievement_tabs li.tab p,",
  164. "div[id=\"accountinfo\"] a {",
  165. "",
  166. " text-decoration: none !important;",
  167. " }",
  168. "",
  169. "#subwrap {",
  170. "",
  171. " padding: 2px 0 0 !important;",
  172. " }",
  173. "",
  174. "",
  175. "",
  176. "body#play #gamepage_header h1 {",
  177. "",
  178. " height: auto !important;",
  179. " }",
  180. "",
  181. "div[id=\"points\"] h3 {",
  182. "",
  183. " margin-left: 100px !important;",
  184. " }",
  185. "",
  186. "#welcome p.levelup {",
  187. "",
  188. " margin-left: 80px !important;",
  189. " }",
  190. "",
  191. "body#profile #achievements .badge_details a:hover {",
  192. "",
  193. " color: #AA0000 !important;",
  194. " text-decoration: none !important;",
  195. " }",
  196. "",
  197. "div[id=\"friend_finder\"],",
  198. "div[class=\"notes\"] {",
  199. "",
  200. " border: 2px solid #777777 !important;",
  201. " border-radius: 4px;",
  202. " }",
  203. "",
  204. "div[id=\"primarywrap\"] {",
  205. "",
  206. " background: #FFFFFF !important;",
  207. " padding-bottom: 0px !important;",
  208. " }",
  209. "",
  210. "div[id=\"headerwrap\"] {",
  211. "",
  212. " border-radius: 12px 12px 0 0 !important;",
  213. " }",
  214. "",
  215. "div[id=\"gamesubinfo\"], ",
  216. "div[id=\"subinfo_contribute\"] {",
  217. "",
  218. " float: right !important;",
  219. " }",
  220. "",
  221. "div[id=\"full-nav-wrap\"] {",
  222. "",
  223. " padding: 0 !important;",
  224. " height: 70px !important;",
  225. " background-color: #FFF !important;",
  226. " }",
  227. "",
  228. "div[id=\"subnavwrap\"] {",
  229. "",
  230. " background: #DFDFDF !important;",
  231. " border: 2px solid #2D2D2D !important;",
  232. " border-radius: 0 0 8px 8px !important;",
  233. " margin: 0 !important;",
  234. " }",
  235. "",
  236. "img[class=\"user_avatar avatar\"] {",
  237. "",
  238. " border: 1px solid #000 !important;",
  239. " border-radius: 5px !important;",
  240. " }",
  241. "",
  242. "div[id=\"gamepage_header\"] {",
  243. "",
  244. " margin-bottom: 0 !important;",
  245. " width: 100% !important;",
  246. " height: auto !important;",
  247. " float: none !important;",
  248. " text-align: center !important;",
  249. " }",
  250. "",
  251. "div[id=\"belowgame_achievements\"] {",
  252. "",
  253. " border-radius: 15px !important;",
  254. " border: 2px solid #AEAF2B !important;",
  255. " background: #FAFFCF !important;",
  256. " }",
  257. "",
  258. "div[id=\"challenge\"] {",
  259. "",
  260. " border-radius: 15px !important;",
  261. " border: 1px solid #A4ABB2 !important;",
  262. " }",
  263. "",
  264. "#nav li.active a,",
  265. "#kong_game_ui ul.main_tabs li#chat_tab a.active,",
  266. "#kong_game_ui ul.main_tabs li#game_tab a.active,",
  267. "#kong_game_ui ul.main_tabs li#achievements_tab a.active,",
  268. "#game_discussion_tabs li#game_comments_tab a.active {",
  269. "",
  270. " border-radius: 7px 7px 0 0;",
  271. " }",
  272. "",
  273. "div[id=\"latestcomments\"],",
  274. "#kong_game_ui .tabpane {",
  275. "",
  276. " border-radius: 0 5px 5px 5px;",
  277. " }",
  278. " ",
  279. "#kong_game_ui .achievement_tabpane_content {",
  280. "",
  281. " border-radius: 0 10px 10px 10px;",
  282. " }",
  283. " ",
  284. "#kong_game_ui ul.achievement_tabs li.tab a.active {",
  285. "",
  286. " border-radius: 11px 0 0 11px;",
  287. " }",
  288. " ",
  289. "#kong_game_ui ul.achievement_tabs li.tab a {",
  290. "",
  291. " border-radius: 5px 0 0 5px;",
  292. " }",
  293. "",
  294. "div[id=\"tertiary\"] {",
  295. " ",
  296. " margin: 0px !important;",
  297. " }",
  298. "",
  299. "dl#shout_whisper_tabs dd.bucket .noob_info {",
  300. "",
  301. " border: 2px solid #000088 !important;",
  302. " border-radius: 5px;",
  303. " }",
  304. "",
  305. "div[id=\"feature\"] {",
  306. " ",
  307. " margin-left: auto !important;",
  308. " margin-right: auto !important;",
  309. " }",
  310. "",
  311. "div[id=\"featuredgame\"] {",
  312. " ",
  313. " margin-left: auto !important;",
  314. " margin-right: auto !important;",
  315. " float: none !important;",
  316. " margin-bottom: 20px !important;",
  317. " }",
  318. "",
  319. "#browsebycategory .category .browse_games table tr td.browse_game_title span.browse_developer a {",
  320. "",
  321. " text-decoration: none !important;",
  322. " color: #111111 !important;",
  323. " }",
  324. "",
  325. "#featuredgame dd.developer a {",
  326. "",
  327. " color: #DDDDDD !important;",
  328. " }",
  329. "",
  330. "#featuredgame dd.developer a:hover {",
  331. "",
  332. " color: #FFFFFF !important;",
  333. " }",
  334. "",
  335. "#featuredgame dt a {",
  336. "",
  337. " text-decoration: none !important;",
  338. " }",
  339. "",
  340. "#footerlinks a {",
  341. "",
  342. " text-decoration: none !important;",
  343. " }",
  344. "",
  345. "#footerlinks a:hover {",
  346. "",
  347. " color: #000000 !important;",
  348. " text-decoration: none !important;",
  349. " }",
  350. "",
  351. "#featuredgame #featured_titlebar ul li a {",
  352. "",
  353. " border-radius: 5px;",
  354. " }",
  355. "",
  356. "#browsebycategory .category .browse_games table tr td.browse_game_title span.browse_developer a:hover {",
  357. "",
  358. " text-decoration: none !important;",
  359. " color: #555555 !important;",
  360. " }",
  361. "",
  362. ".game .description dt a {",
  363. "",
  364. " text-decoration: none !important;",
  365. " color: #880000 !important;",
  366. " }",
  367. "",
  368. ".developer a {",
  369. "",
  370. " text-decoration: none !important;",
  371. " color: #222222 !important;",
  372. " }",
  373. "",
  374. "table.data_table thead th a {",
  375. "",
  376. " text-decoration: none !important;",
  377. " color: #FFFFFF !important;",
  378. " }",
  379. "",
  380. "table.data_table thead th a:hover {",
  381. "",
  382. " text-decoration: none !important;",
  383. " color: #BBBBBB !important;",
  384. " }",
  385. "",
  386. ".developer a:hover {",
  387. "",
  388. " text-decoration: none !important;",
  389. " color: #555555 !important;",
  390. " }",
  391. "",
  392. ".game .description dt a:hover {",
  393. "",
  394. " text-decoration: none !important;",
  395. " color: #BB0000 !important;",
  396. " }",
  397. "",
  398. "div[id=\"news\"] {",
  399. " ",
  400. " width: 287px !important;",
  401. " padding-right: 10px !important;",
  402. " }",
  403. " ",
  404. "div[class=\"comment\"] {",
  405. " ",
  406. " border-radius: 10px;",
  407. " }",
  408. "",
  409. ".subnav a:hover {",
  410. "",
  411. " color: #FFF !important;",
  412. " background: #999 !important;",
  413. " text-decoration: none !important;",
  414. " font-weight: bold !important;",
  415. " }",
  416. "",
  417. ".subnav a {",
  418. "",
  419. " text-decoration: none !important;",
  420. " color: #333 !important;",
  421. " }",
  422. "",
  423. ".subnav li.active a {",
  424. "",
  425. " background-image: none !important;",
  426. " }",
  427. "",
  428. "body#play #gamepage_header h1 .game_title {",
  429. "",
  430. " font-size: 31px !important;",
  431. " font-family: Corbel, Calibri !important;",
  432. " font-weight: bold !important;",
  433. " width: 100% !important;",
  434. " }",
  435. "",
  436. "body#play #gamepage_header h1 {",
  437. "",
  438. " width: 100% !important;",
  439. " }",
  440. "",
  441. "",
  442. "div[id=\"relatedinfo\"] {",
  443. " ",
  444. " margin: 0 0 0 10px !important;",
  445. " width: 444px !important;",
  446. " }",
  447. "",
  448. "ul[class=\"pages\"] {",
  449. " ",
  450. " border: 2px solid #CACACA !important;",
  451. " border-radius: 5px !important;",
  452. " width: 70% !important;",
  453. " padding: 4px 0 4px 20px !important;",
  454. " margin: 0 0 8px 50px !important;",
  455. " }"
  456. ].join("\n");
  457. if (typeof GM_addStyle != "undefined") {
  458. GM_addStyle(css);
  459. } else if (typeof PRO_addStyle != "undefined") {
  460. PRO_addStyle(css);
  461. } else if (typeof addStyle != "undefined") {
  462. addStyle(css);
  463. } else {
  464. var node = document.createElement("style");
  465. node.type = "text/css";
  466. node.appendChild(document.createTextNode(css));
  467. var heads = document.getElementsByTagName("head");
  468. if (heads.length > 0) {
  469. heads[0].appendChild(node);
  470. } else {
  471. // no head yet, stick it whereever
  472. document.documentElement.appendChild(node);
  473. }
  474. }
  475. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址