diff --git a/following-list-tracker.user.js b/following-list-tracker.user.js index bba1ad2..1e45674 100644 --- a/following-list-tracker.user.js +++ b/following-list-tracker.user.js @@ -4,15 +4,23 @@ // @match https://cohost.org/rc/project/following* // @grant GM.getValue // @grant GM.setValue -// @version 1.0 +// @version 1.1 // @author snow flurry // @description Puts a dot next to users you follow with unread posts. // ==/UserScript== +// Changelog: +// 1.1: +// - Default to showing "unknown" followed users as unread. +// - If you want the previous setting, set "unreadForUnknown" +// to false in the script's Values tab. + (async () => { // Used by GM.getValue/GM.setValue const gmvalLastViewed = "lastViewed"; const notifyDotClass = "__x-notify-dot"; + // Whether to show "unknown" users as unread by default + const unreadForUnknown = GM.getValue("unreadForUnknown", true); // Stolen from the notification dot on the "refresh" button :3 const dotSvgPath = `