2 Achegas 8e2cbe46cb ... 2dc2caf4eb

Autor SHA1 Mensaxe Data
  Steve0Greatness 2dc2caf4eb Version bump hai 6 meses
  Steve0Greatness ce1097a9f0 Added Toggle for Showing Comments hai 6 meses
Modificáronse 3 ficheiros con 11 adicións e 3 borrados
  1. 4 0
      CHANGELOG.md
  2. 6 2
      fandom-debloater.user.css
  3. 1 1
      fandom-debloater.user.js

+ 4 - 0
CHANGELOG.md

@@ -1,3 +1,7 @@
+# 1.1
+
+* Added a toggle for showing article comments
+
 # 1.0
 
 * Initial release of userscript and -style

+ 6 - 2
fandom-debloater.user.css

@@ -1,18 +1,22 @@
 /* ==UserStyle==
 @name         YA Fandom Debloater
 @namespace    github.com/openstyles/stylus
-@version      1.0.0
-@preprocessor default
+@version      1.1.0
+@preprocessor less
 @description  (Yet Another Fandom Debloater)
 @author       Steve0Greatness
 @homepageURL  https://notabug.org/Steve0Greatness/Yet-Another-Fandom-Debloater
 @supportURL   https://notabug.org/Steve0Greatness/Yet-Another-Fandom-Debloater/issues
 @updateURL    https://notabug.org/Steve0Greatness/Yet-Another-Fandom-Debloater/raw/master/fandom-debloater.user.css
 @license      GPL-v3
+@var checkbox showcomments "Show article comments" 1
 ==/UserStyle== */
 @-moz-document domain("fandom.com") {
     #articleComments {
         margin-top: 3em;
+        if @showcomments == 0 {
+            display: none !important;
+        }
     }
 
     .ad-slot-placeholder,

+ 1 - 1
fandom-debloater.user.js

@@ -3,7 +3,7 @@
 // @namespace   Violentmonkey Scripts
 // @match       https://*.fandom.com/*
 // @grant       none
-// @version     1.0
+// @version     1.1
 // @author      Steve0Greatness
 // @description (Yet Another Fandom Debloater)
 // @copyright   GPL-v3