Greasy Fork 支持简体中文。

elGoogle

Better "Гугал поиск"

  1. // ==UserScript==
  2. // @name elGoogle
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description Better "Гугал поиск"
  6. // @author ellatuk
  7. // @match https://www.google.com/*
  8. // @grant none
  9. // @license MIT
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. // Function to add CSS styles
  16. function addGlobalStyle(css) {
  17. const head = document.getElementsByTagName('head')[0];
  18. if (!head) { return; }
  19. const style = document.createElement('style');
  20. style.type = 'text/css';
  21. style.innerHTML = css;
  22. head.appendChild(style);
  23. }
  24.  
  25. // Делаем гугал гуглам
  26. addGlobalStyle(`
  27. .lnXdpd {
  28. content: url('https://i7.imageban.ru/out/2024/07/20/eac25e8f5b8d656a7336d1fb7767b21c.png') !important;
  29. width: auto !important;
  30. height: auto !important;
  31. }
  32. `);
  33.  
  34. // убираем нижний кринж
  35. addGlobalStyle(`
  36. #SIvCob {
  37. display: none !important;
  38. }
  39. `);
  40.  
  41. // прям убираем этот кринж
  42. addGlobalStyle(`
  43. div[jscontroller="NzU6V"] * {
  44. color: transparent !important;
  45. }
  46. `);
  47.  
  48. // поисковая строка может быть лучше!
  49. addGlobalStyle(`
  50. .RNNXgb {
  51. border-radius: 34px 14px !important;
  52. background-color: #121212 !important;
  53. border: 3px solid #1c1d1d !important;
  54. background: #121212 !important;
  55. }
  56. .Umvnrc {
  57. display: none !important;
  58. }
  59. .Ne6nSd {
  60. display: flex !important;
  61. align-items: center !important;
  62. padding: 1px !important;
  63. color: #121212 !important;
  64. }
  65. #gb {
  66. background-color: #161616 !important;
  67. }
  68. `);
  69.  
  70. // убираем говно с экрана
  71. addGlobalStyle(`
  72. .gNO89b {
  73. display: none !important;
  74. }
  75. `);
  76.  
  77. // вот теперь говна нет (почти)
  78. addGlobalStyle(`
  79. .RNmpXc {
  80. display: none !important;
  81. }
  82. `);
  83.  
  84. // настоящий тёмный
  85. addGlobalStyle(`
  86. body {
  87. background-color: #161616 !important;
  88. }
  89. `);
  90. })();