Greasy Fork is available in English.

Wikiwand Enhancer

Userscript that fixes the five-minute shit that Wikiwand couldn't fix on its website. Seriously, just don't sit on Wikiwand, it's that terrible.

  1. // ==UserScript==
  2. // @name Wikiwand Enhancer
  3. // @namespace https://greasyfork.org/en/users/830433-vintprox
  4. // @description Userscript that fixes the five-minute shit that Wikiwand couldn't fix on its website. Seriously, just don't sit on Wikiwand, it's that terrible.
  5. // @version 1.0
  6. // @icon https://wikiwand-19431.kxcdn.com/img/wikiwand_icon_apple.png
  7. // @license WTFPL
  8. // @homepageURL https://addons.mozilla.org/en-US/firefox/addon/modern-for-wikipedia/
  9. // @author vintprox
  10. // @match https://*wikiwand.com/*
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. const style = document.createElement("style");
  16. style.type = "text/css";
  17. style.appendChild(document.createTextNode(`
  18. /* Was it so hard to not mess up the dark theme? */
  19. body.dark #main_menu {
  20. background-color: #615a5f80;
  21. }
  22. body.dark #main_menu.navbar_opaque {
  23. background-color: #615a5f;
  24. }
  25.  
  26. /* Uncalled branding. */
  27. #main_menu > li.article_btn {
  28. display: none;
  29. }
  30.  
  31. /* Do you want to "upgrade" your plan? But seriously, what a dull naming. It seems as if they just took someone else's template and stretched a wikipedia on it!
  32. Also, you don't really want this annoying button. */
  33. #main_menu > li.upgrade_btn,
  34. #main_menu .menu_line {
  35. display: none;
  36. }
  37.  
  38. /* It's a shame that we have a circus of colors in the main menu, of all places. These should have been monochromatic. */
  39. body.dark #main_menu > li > i {
  40. filter: contrast(0%) brightness(160%);
  41. }
  42. body.dark #main_menu > li:hover > i,
  43. body.dark #main_menu > li:active > i {
  44. filter: contrast(0%) brightness(220%);
  45. }
  46. body.light #main_menu > li > i {
  47. filter: contrast(0%) brightness(80%);
  48. }
  49. body.light #main_menu > li:hover > i,
  50. body.light #main_menu > li:active > i {
  51. filter: contrast(0%) brightness(0%);
  52. }
  53.  
  54. /* You don't really need to be reminded to tell friends about Wikiwand. It's way too green. */
  55. .footer_invite_wrapper .invite_box {
  56. display: none;
  57. }
  58.  
  59. /* If this shit was open source, I would already bring some sense to it. What the heck is with these uncentered labels? */
  60. .infobox-image,
  61. .infobox-full-data {
  62. text-align: center;
  63. }
  64.  
  65. /* Mx. Fancy Pants thought that you would appreciate this Pinterest button. Let's be real: who uses this bullshit today? */
  66. #cover_image .pin_btn {
  67. display: none;
  68. }
  69.  
  70. /*
  71. THERE ARE MORE PRESSING ISSUES WITH WIKIWAND.
  72. IT DOESN'T RESPECT PRIVACY AND IT'S TOO GREEN.
  73. GIVE PROPER EXTENSIONS A TRY TO MODERNIZE THE LOOK OF WIKIPEDIA, NOT THIS GARBAGE.
  74. */
  75. `));
  76. document.body.appendChild(style);
  77. })();