]> git.aero2k.de Git - dfde/hide-stuff.git/commitdiff
fix url
authorThorsten S. <mail@aero2k.de>
Sun, 17 Dec 2023 22:36:41 +0000 (23:36 +0100)
committerThorsten S. <mail@aero2k.de>
Sun, 17 Dec 2023 22:36:41 +0000 (23:36 +0100)
hide-stuff.user.js

index 5ec9f60876c590a32f5f4eaa2cd5d9d947833610..39172803f6b94b3a448d82f6ed8ac9bd33451a7e 100755 (executable)
@@ -1,16 +1,20 @@
 // ==UserScript==
 // @name          debianforum.de-hide-stuff
+// @description   Hide threads (TODO: and users) entirely, stored in localStorage
 // @namespace     org.free.for.all
-// @include       /^https?://debianforum\.de/.*/
+// @match         https://debianforum.de/*
 // @author        Thorsten Sperber
 // @version       0.3
+// @downloadURL   https://git.aero2k.de/?p=dfde/hide-stuff.git;a=blob_plain;f=hide-stuff.user.js
+// @updateURL     https://git.aero2k.de/?p=dfde/hide-stuff.git;a=blob_plain;f=hide-stuff.user.js
 // ==/UserScript==
 
 /**
  TODO: provide a reasonably good UI to hide stuff, maybe like xkill.
+ TODO: code cleanup a lot.
  */
 
-(function() {
+ (function() {
     'use strict';
 
     const opacity_default = 0.4;
@@ -25,7 +29,7 @@
         var storage = localStorage.getItem('hidden_users') || "[]";
         return JSON.parse(storage);
     }
-    
+
     function set_thread_visibility(visible) {
         var hidden_threads = get_hidden_threads();