temptest [any] to chapotraphouse • 1 year agoHexbear Devs: Add filter to only show replies from other instances, to help increase my dunking frequency coefficientimagemessage-square14 fedilinkarrow-up169file-text
arrow-up169imageHexbear Devs: Add filter to only show replies from other instances, to help increase my dunking frequency coefficienttemptest [any] to chapotraphouse • 1 year agomessage-square14 Commentsfedilinkfile-text
minus-squareYearOfTheCommieDesktop [they/them]hexbear5·1 year agoDonezo - and now instead of collapsing comment trees it just removes the content. // ==UserScript== // @name Hexbear Blocker // @namespace http://tampermonkey.net/ // @version 0.1 // @description Hide tankies on hexbear.net // @author YearOfTheCommieDesktop // @match https://hexbear.net/* // @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net // @require https://cdn.jsdelivr.net/gh/CoeJoder/waitForKeyElements.js@v1.2/waitForKeyElements.js // @grant none // ==/UserScript== function processComment(comment) { var link = comment.querySelectorAll('a[title="link"]'); if (link.length >= 2 && ( link[1].href.includes("hexbear.net") || link[1].href.includes("lemmygrad.ml"))) { // comment.querySelector('button[aria-label="Collapse"]').click(); var content = comment.querySelector('div[class="md-div"]'); if (content !== null) { content.remove(); } //console.log('hid hexer'); } return true; } waitForKeyElements('.comment-node', processComment); link
Donezo - and now instead of collapsing comment trees it just removes the content.
// ==UserScript== // @name Hexbear Blocker // @namespace http://tampermonkey.net/ // @version 0.1 // @description Hide tankies on hexbear.net // @author YearOfTheCommieDesktop // @match https://hexbear.net/* // @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net // @require https://cdn.jsdelivr.net/gh/CoeJoder/waitForKeyElements.js@v1.2/waitForKeyElements.js // @grant none // ==/UserScript== function processComment(comment) { var link = comment.querySelectorAll('a[title="link"]'); if (link.length >= 2 && ( link[1].href.includes("hexbear.net") || link[1].href.includes("lemmygrad.ml"))) { // comment.querySelector('button[aria-label="Collapse"]').click(); var content = comment.querySelector('div[class="md-div"]'); if (content !== null) { content.remove(); } //console.log('hid hexer'); } return true; } waitForKeyElements('.comment-node', processComment);