hikky's profile picture

Published by

published

Category: Blogging

I updated my SpaceHey mod – now with notifications!

Hey. I updated my mod for SpaceHey. I added something small, but I think it’s useful.

New feature: Friend Request Notifications

Now you get notified when someone sends you a friend request.
Finally, you don’t have to keep checking your requests all the time.

Notifications come with a 1–2 minute delay because browsers are being careful. But now you’ll get them.

The extension is ready

You can try it here:
https://tomokuroki.github.io/

Here’s the open-source code if you want to peek or contribute:
https://github.com/tomokuroki/SpaceHeyMods

Installation

Instructions are on the page. Load it, and it works.

What I’m thinking next

I’m thinking about making notifications for SpaceHey Messenger.
I’d appreciate any ideas or help spreading this extension.
I just want to make SpaceHey better.


5 Kudos

Comments

Displaying 1 of 1 comments ( View all | Add Comment )

hikky

hikky's profile picture

How it works “under the hood”
The extension acts as your assistant, regularly checking the page for you:

Background check: Every minute, the extension automatically “visits” your SpaceHey homepage (spacehey.com/home). You don’t need to be on the site — it’s enough for your browser to be open.

Checking for new requests: The system scans the “Friend Requests” section. If it finds a request you haven’t seen yet, it retrieves the user’s name and avatar.

Smart filtering: The extension remembers the IDs of the last 100 requests. This prevents you from receiving multiple notifications for the same person.

What the user sees
When a new request arrives, you receive a standard Windows notification:

User name: You immediately see who wants to add you as a friend.

Avatar: The notification shows the sender’s profile picture, similar to real messaging apps.

Text: A message like “[Name] sent you a friend request!”.

Settings

Enable/Disable: You can turn this feature on or off at any time via the extension’s settings menu.

Resource usage: Since the check happens only once per minute and only scans the text content of the page, it does not affect your computer’s performance or battery life.


Report Comment