Thread:Andrewds1021/@comment-45117243-20201111034700/@comment-9605025-20201217003321

Well, yeah, dismissing the upvotes is part of it but I was also thinking you could use ajaxSend to remove it from the requests. Something like this: $(document).ajaxSend(function (e, x, o) {   if ((o.type != "GET") || (o.url.indexOf("https://services." + mw.config.get("wgServer").split(".").slice(-2).join(".") + "/notifications") != 0)) return;   var types = "contentType=" + [        "announcement-target",        "article-comment-at-mention",        "article-comment-reply",        "article-comment-reply-at-mention",        "discussion-post",        "message-wall-post",        "message-wall-thread",        "post-at-mention",        "talk-page-message",        "thread-at-mention"    ].join("&contentType=");    if (o.url.indexOf("?") == -1) {        o.url = o.url + "?" + types;    } else if (o.url.indexOf("contentType") == -1) {        o.url = o.url + "&" + types;    } else {        o.url = o.url.split("?")[0] + "?" + o.url.split("?")[1].split("&")            .filter(function (val) { return val != "contentType=discussion-upvote"; }).join("&");   } });