77
submitted 1 month ago by Edie@hexbear.net to c/main@hexbear.net

This user is suspected of being a cat. Please report any suspicious behavior.

all 48 comments
sorted by: hot top new old
[-] Edie@hexbear.net 32 points 1 month ago* (last edited 1 month ago)

ⓘ Thi$ uSSer i$ SSuSSpeKKKted of being a KKKat. PleaSSe report any SSuSSpiKKKiou$ behavior.

michael-laugh

Fucking hell. I love this.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] RedWizard@hexbear.net 12 points 1 month ago

OH! I've also being thinking about your signature, tell me you don't actively paste that in every time you post.

[-] Edie@hexbear.net 13 points 1 month ago* (last edited 1 month ago)

I do. And I am surprised at how consistent I have been with it.

I did think about making something to help me. But I couldn't figure it out.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] RedWizard@hexbear.net 9 points 1 month ago* (last edited 1 month ago)

Browser extension that looks for the text entry field on Hexbear and automatically pastes the text into the field if the field is blank. Or you could use something like tamper monkey to run the JS code without needing an extension. It wouldn't be too dissimilar to the extension that does a text replace. You'd be looking for this:

<textarea 
    class="form-control border-0 rounded-top-0 rounded-bottom" 
    id="markdown-textarea-Nz0qXtBTCHwM9wcFomEu" 
    required="" 
    rows="2" 
    maxlength="10000" 
    placeholder="Type here to comment..." 
    spellcheck="false" 
    style="overflow: hidden; overflow-wrap: break-word; resize: none; text-align: start; height: 60px; line-height: 24px;" 
    data-tribute="true" 
    data-lt-tmp-id="lt-64348" 
    data-gramm="false">
</textarea>

Probably want to search for the node with the markdown-textarea- ID, since that should be true for comments and posts. So you can do something like this:

var sigHR = "\n\n---\n"
var sigMessage = "ⓘ _This user is suspected of being a cat. Please report any suspicious behavior._"
var sig = `${sigHR}${sigMessage}`

var elements = document.querySelectorAll('[id^=markdown-textarea-]');
// this gets all elements that have an ID which starts with markdown-textarea-

for (element of elements) {
    if (element.value === "") {
        element.value += sig
    }

Then you would use the same observer code that you used to find and replace text to check if the page changes, and run that code above when it does. So if you click to create a new comment somewhere else in the page, and it spawns the textarea, it should add the text for you automatically.

You could eventually expand this idea to an extension that when clicked presents a page with a forum that allows you to submit and store your sig. So, if you ever want to change it, you don't have to edit the code to do so.

[-] Edie@hexbear.net 8 points 1 month ago* (last edited 1 month ago)

Besides your newlines being the wrong way around. This was very helpful! I made this violentmonkey script:

// ==UserScript==
// @name        hexbear signature
// @namespace   Violentmonkey Scripts
// @match       https://hexbear.net/*
// @grant       none
// @version     1.1
// @author      Edie
// @description 29/12/2025, 18.08.13
// ==/UserScript==

var sigHR = "\n\n---\n"
var sigMessage = "ⓘ *This user is suspected of being a cat. Please report any suspicious behavior.*"
var sig =  `${sigHR}${sigMessage}`

function addSig(node) {
  var element = node.querySelector('[id^=markdown-textarea-]')
  if (element != null) {
    if (element.value === "") {
      element.value = sig
    }
  }
}

const observer = new MutationObserver(records => {
  records.forEach(record => {
    for (const addedNode of record.addedNodes) {
      if (addedNode.nodeType == 1) {
        addSig(addedNode)
      }
    }
  })
});

observer.observe(document.body, {
    subtree: true,
    childList: true
});

addSig(document)

Edit: Updated to version 1.1!


This user is suspected of being a cat. Please report any suspicious behavior.

[-] RedWizard@hexbear.net 5 points 1 month ago

Nice. You should add element.dispatchEvent(new Event('input', { bubbles: true })); after you set the value. That tells the interface text was added and enables the buttons under the comment text box. Not a huge issue, but it is odd looking that there is text in the box and buttons do not light up.

[-] Edie@hexbear.net 6 points 1 month ago* (last edited 1 month ago)

I don't think I will. For me it works perfectly fine as it is right now. Presumably it would also mean that the browser goes "do you really want to leave" any time I've gone to a post (since it adds the text to the comment box) which wouldn't be nice. And also, why would I want to post nothing but my signature? I'm going to be writing something anyways which fires the event.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] RedWizard@hexbear.net 6 points 1 month ago

Yeah that makes sense actually! I didn't think of that.

[-] Edie@hexbear.net 5 points 1 month ago

There is a problem where if you highlight some text and click reply, the signature will not show up. I even tried making changes to fix it but it didn't work.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] RedWizard@hexbear.net 4 points 1 month ago* (last edited 1 month ago)

There is a problem where if you highlight some text and click reply, the signature will not show up. I even tried making changes to fix it but it didn't work.

Hmm. You could implement a delay. Could be what is happening is that when highlighting and clicking reply, it creates a race condition between whatever inserts the highlighted text into the text box and your sig, which does the same. What likely is happening is that for a split second your sig is added, then it's replaced by the highlighted text as a quote. If the delay works, you'd want to append to whatever is in there, and it would have to run even if the field value isn't empty.

[-] Edie@hexbear.net 4 points 1 month ago

Yeah and the very last line turns up a problem, where when you edit a comment it will add another signature. For now I'll just go with "don't touch it if it isn't empty" since it's all easier.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] RedWizard@hexbear.net 4 points 1 month ago* (last edited 1 month ago)

Yeah, another solution, though probably also very annoying to implement cleanly, is to have it fire when you click into the textarea and have it check the text for the sig using match or something similar.

[-] LeninWeave@hexbear.net 4 points 1 month ago

Doesn't add it to the comment box just under the post if you're opening it from a direct link

I think this is because the mutation observer watches for changes after it's added, and a direct link loads the page with the comment box directly so it isn't caught by the observer which is added after the loading is done (whereas loading from the front page doesn't reload the document and therefore the observer is watching as the comment box is added). Should be fixable if you run the code to find the comment box and add the signature once after adding the mutation observer at the end of your snippet.

[-] RedWizard@hexbear.net 4 points 1 month ago

Yeah, I was going to suggest that. Probably need to turn that code which adds the sig into a function, that way you can call it after the observer but also inside the observer. Then if you discover any other time you want it to happen (like if the text box is focused and it's still empty) you can call it again.

[-] Edie@hexbear.net 3 points 1 month ago

Yup. I was thinking to do that.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] Krem@hexbear.net 22 points 1 month ago

DiSSKKKussion

take that debate nerds, all discussion is inherently reactionary. real communists already know and agree about stuff

[-] CliffordBigRedDog@hexbear.net 4 points 1 month ago* (last edited 1 month ago)

I diSSagree

[-] RedWizard@hexbear.net 13 points 1 month ago

Tell me this is an extension you found so that I might find it too!

[-] Edie@hexbear.net 19 points 1 month ago* (last edited 1 week ago)

I made it myself.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] RedWizard@hexbear.net 6 points 1 month ago

lol that's awesome. Was it inspired by this in any way?

[-] Edie@hexbear.net 8 points 1 month ago

Yup! As you can see I commented I had made a version that did what Awoo said. And then I was thinking, well if I can replace words surely I can replace letters, MSE!


This user is suspected of being a cat. Please report any suspicious behavior.

[-] RedWizard@hexbear.net 5 points 1 month ago

Ohhh I didn't read much deeper in the thread. That's cool! Are these on public repos somewhere? I was going to tinker with the idea too but time is a precious commodity for me lol.

[-] Edie@hexbear.net 6 points 1 month ago* (last edited 1 week ago)

I uploaded them


This user is suspected of being a cat. Please report any suspicious behavior.

[-] RedWizard@hexbear.net 7 points 1 month ago

Fun! I'm definitely going to play with these later. Would be fun to implement a floating button that is just glasses-on glasses-off to toggle it on and off. Probably more complicated then I think it is lol.

[-] Edie@hexbear.net 4 points 1 month ago

Since making an actual addon means you either have to publish it on addons.mozilla.org or load it temporarily every time. Making these into user scripts might be a good idea. And they seem to work, just copy pasted into violent monkey.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] RedWizard@hexbear.net 2 points 1 month ago* (last edited 1 month ago)

Yeah, and they can be distributed and updated via a git repository too. You put the js file up on your forge profile, name it something like my-script.user.js and then in the file you need to add @updateURL: https://yourserver.com/path/to/my-script.user.js to the front matter of the script. Then, when you make changes, people can pull them from the URL. You'll want to give it a custom namespace, which helps prevent collisions if two scripts have the same name, which can be anything I think.

[-] RedWizard@hexbear.net 2 points 1 month ago

Testing out the other, finally, honest search results:

[-] RedWizard@hexbear.net 2 points 1 month ago

LMAO this shit is borderline unreadable, and I love it:

[-] Edie@hexbear.net 2 points 1 month ago* (last edited 1 month ago)

I think the c should only be made into KKK when it's used to make a k like sound. In since KKK doesn't work because c used as more an s like sound. Of course that is difficult to do programmatically.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] Edie@hexbear.net 2 points 1 month ago* (last edited 1 week ago)

I can make it slightly better:

C makes a soft sound when it’s followed by the letter E, I, or Y.

And the code did include checks for e and i. So I added Y and € (since I change e to €) and it works reasonably well. There is still ch, which sometimes makes a /k/ sounds and sometimes not, but that is difficult to fix.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] peeonyou@hexbear.net 5 points 1 month ago

i recently discovered that you can't just make addons for Firefox anymore which really sucks.i made a script to better help my pirating and was so happy with it that i wanted to make it load permanently and couldn't because you can't just install extensions anymore, they have to be signed by Mozilla or you have to manually load it every time you start Firefox.

ugh

[-] LeninWeave@hexbear.net 4 points 1 month ago

If possible, you can write them as userscripts and use a userscript manager.

[-] Edie@hexbear.net 2 points 1 month ago* (last edited 1 month ago)

Yeah. depending on what the script is, using some userscript manager like violentmonkey might work.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] LeninWeave@hexbear.net 13 points 1 month ago
[-] LeninWeave@hexbear.net 11 points 1 month ago

I bet this comment makes it go haywire.

[-] Edie@hexbear.net 10 points 1 month ago

*HH€KKKSSb€ar


This user is suspected of being a cat. Please report any suspicious behavior.

[-] Edie@hexbear.net 13 points 1 month ago

HUH? Why is this FEATURED in local??


This user is suspected of being a cat. Please report any suspicious behavior.

[-] Trying2KnowMyself@hexbear.net 12 points 1 month ago

Because if it were site-featured I’d probably miss it oooaaaaaaauhhh

[-] doomsdayrs@lemmy.ml 12 points 1 month ago
[-] Edie@hexbear.net 10 points 1 month ago* (last edited 1 month ago)

Meow


This user is suspected of being a cat. Please report any suspicious behavior.

[-] CommunistCuddlefish@hexbear.net 11 points 1 month ago

Maoist Standard English Hexbear is real and it can only help you by opening your eyes and giving you permission to speak that which was always in your heart (marg bar amriKKKa, of course)

this post was submitted on 29 Dec 2025
77 points (98.7% liked)

Main, home of the dope ass bear.

16103 readers
24 users here now

THE MAIN RULE: ALL TEXT POSTS MUST CONTAIN "MAIN" OR BE ENTIRELY IMAGES (INLINE OR EMOJI)

(Temporary moratorium on main rule to encourage more posting on main. We reserve the right to arbitrarily enforce it whenever we wish and the right to strike this line and enforce mainposting with zero notification to the users because its funny)

A hexbear.net commainity. Main sure to subscribe to other communities as well. Your feed will become the Lion's Main!

Good comrades mainly sort posts by hot and comments by new!


gun-unity State-by-state guide on maintaining firearm ownership

guaido Domain guide on mutual aid and foodbank resources

smoker-on-the-balcony Tips for looking at financials of non-profits (How to donate amainly)

frothingfash Community-sourced megapost on the main media sources to radicalize libs and chuds with

just-a-theory An Amainzing Organizing Story

feminism Main Source for Feminism for Babies

data-revolutionary Maintaining OpSec / Data Spring Cleaning guide


ussr-cry Remain up to date on what time is it in Moscow

founded 5 years ago
MODERATORS