Badoo Aucunes Publicités

Badoo épuré.

  1. // ==UserScript==
  2. // @name Badoo Aucunes Publicités
  3. // @namespace https://badoo.com/
  4. // @version 1.4
  5. // @description Badoo épuré.
  6. // @copyright Okaïdo53
  7. // @author Okaïdo53
  8. // @Secure Okaïdo53
  9. // @compatible firefox
  10. // @compatible chrome
  11. // @compatible opera
  12. // @compatible Safari
  13. // @license https://creativecommons.org/licence/by-nc-nd/4.0
  14. // @domain badoo.com
  15. // @domain www.badoo.com
  16. // @domain apis.google.com
  17. // @include http://badoo.com/*
  18. // @include https://badoo.com/*
  19. // @include http://*.badoo.com/*
  20. // @include https://*.badoo.com/*
  21. // @match http://badoo.com/*
  22. // @match https://badoo.com/*
  23. // @match http://*badoo.com/*
  24. // @match https://*.badoo.com/*
  25. // @require https://code.jquery.com/jquery-2.2.4.js#md5=ac56d...,sha256-iT6Q9iMJYuQiMWNd9lDyBUStIq/8PuOW33aOqmvFpqI=
  26. // @resource ccs_https://gist.github.com/Okaido53/837cb1c38da765db95156fe30eb4f489/Badoo Aucunes Publicités.ccs?v=1.2
  27. // @homepage https://greasyfork.org/fr/scripts/38654-badoo-aucunes-publicit%C3%A9s
  28. // @homepageURL https://gist.github.com/Okaido53/837cb1c38da765db95156fe30eb4f489
  29. // @supportURL https://badoo.com/team/fr/contacts/
  30. // @supportURL 2 https://badoo.com/fr/feedback/
  31. // @contributionURL https://www.paypal.com/
  32. // @icon https://icons.duckduckgo.com/ip3/badoo.com.ico
  33. // @iconURL https://icons.duckduckgo.com/ip3/badoo.com.ico
  34. // @defaulticon https://icons.duckduckgo.com/ip3/badoo.com.ico
  35. // @icon64 https://icons.duckduckgo.com/ip3/badoo.com.ico
  36. // @icon64URL https://icons.duckduckgo.com/ip3/badoo.com.ico
  37. // @run-at document-start
  38. // @run-at document-end
  39. // @run-at document-body
  40. // @run-at document-end
  41. // @run-at document-idle
  42. // @run-at context-menu
  43. // @connect <value>
  44. // @nocompat Chrome
  45. // @noframes
  46. // @grant none
  47. // @grant GM_setClipboard
  48. // @grant GM_log
  49. // @grant GM_deleteValue
  50. // @grant GM_getValue
  51. // @grant GM_setValue
  52. // @grant GM_registerMenuCommand
  53. // @grant GM_xmlhttpRequest
  54. // @grant unsafeWindow
  55. // @grant window.focus
  56. // @grant window.close
  57. // @unwrap
  58. // ==/UserScript==
  59. (function() {var css = [
  60. "@namespace url(http://www.w3.org/1999/xhtml);",
  61. "div#page-cookie-notification.page__footer-notifications.js-core-events-container {display:none !important;}",
  62. "div.cookie-notification__inner {display:none !important;}",
  63. "a.link.js-about-notification {display:none !important;}",
  64. "div.footer-apps {display:none !important;}",
  65. "div.likes-wrap {display:none !important;}",
  66. "div.spotlight__title {display:none !important;}",
  67. "div.sidebar__promo.is-invisible-when-sidebar-collapsed.js-sidebar-promo.js-core-events-container {display:none !important;}",
  68. "div.messenger__contacts-surprise {display:none !important;}",
  69. "div#page-surprise-top.page__surprise {display:none !important;}",
  70. "div.surprise.js-google-ad-container {display:none !important;}",
  71. "ins.adsbygoogle.js-google-ad {display:none !important;}",
  72. "ins#aswift_0_anchor {display:none !important;}",
  73. "div.big-photo__footer.js-profile-footer-container {display:none !important;}",
  74. "div.banner-container.js-banner-slot {display:none !important;}",
  75. "div.banner.banner--inbox-full.js-banner-wrap {display:none !important;}",
  76. ".trigger-icon-hover.react-button--color-primary.react-button--sm.react-button--filled.react-button {display:none !important;}",
  77. ".sidebar-info__metric--premium.sidebar-info__metric > .sidebar-info__metric-content {display:none !important;}",
  78. "div.sidebar-info__metric:nth-of-type(1) > .sidebar-info__metric-content {display:none !important;}",
  79. ".js-spotlight-real {display:none !important;}",
  80. ".sidebar-promo--spotlight.sidebar-promo {display:none !important;}",
  81. ".js-im-promos {display:none !important;}",
  82. ".js-im-promo.b-link {display:none !important;}",
  83. ".fast-message {display:none !important;}",
  84. "a.sidebar-menu__item:nth-of-type(3) {display:none !important;}",
  85. "a.sidebar-menu__item:nth-of-type(4) {display:none !important;}",
  86. ].join("\n");
  87. if (typeof GM_addStyle != "undefined") {
  88. GM_addStyle(css);
  89. } else if (typeof PRO_addStyle != "undefined") {
  90. PRO_addStyle(css);
  91. } else if (typeof addStyle != "undefined") {
  92. addStyle(css);
  93. } else {
  94. var node = document.createElement("style");
  95. node.type = "text/css";
  96. node.appendChild(document.createTextNode(css));
  97. var heads = document.getElementsByTagName("head");
  98. if (heads.length > 0) {
  99. heads[0].appendChild(node);
  100. } else {
  101. // no head yet, stick it whereever
  102. document.documentElement.appendChild(node);
  103. }
  104. }
  105. })();