| Post Reply | RetroFed Forums Forum Index » PieFed CSS |
| Author | Message | ||
|---|---|---|---|
|
amunoto
piefed.social
amunoto@piefed.social Joined: 2026-07-06 |
A simple Tampermonkey script that adds a one-click hide button to posts on piefed.social (main feed). It uses PieFed’s native web route to hide posts and restores the scroll position after the page reloads. My personal motivation for making this: I prefer to use social media with an inbox zero approach. I want to hide everything that I have seen so that in the end my inbox is empty. (Voyager app has a nice swipe mechanism for this, but it doesn't use the hide feature of PieFed but rather remains local.) tampermonkey Code// ==UserScript== (function () { const HIDE_ICON_CLASS = "fe-hide"; // Gespeicherte Scrollposition nach dem Neuladen wiederherstellen if (savedScroll !== null) { function hidePost(postId) {
} function addHideIcon(teaser) {
} function scan() { scan(); const observer = new MutationObserver(scan); observer.observe(document.body, { |
||
| 10 Original | |||
Rimu
Moderator
rimu@piefed.socialJoined: 2024-01-04 |
PieFed has this feature, IF you turn on "Do not display posts with which I have already interacted (opened/upvoted/downvoted)" in https://piefed.social/user/settings More details at https://piefed.social/c/piefed_meta@piefed.social/p/2262951/hide-mark-a-post-as-read-without-voting-on-it |
||
| 3 | |||
|
HubertManne
piefed.social
HubertManne@piefed.social Joined: 2025-03-13 |
I see rimu already mentioned. I have that setting and just now hit the read button. I love to not mark animal pictures as read so that when I refresh I see them again as I scroll through. |
||
| 2 | |||
|
amunoto
piefed.social
amunoto@piefed.social Joined: 2026-07-06 |
PieFed has this feature, IF you turn on "Do not display posts with which I have already interacted (opened/upvoted/downvoted)" in https://piefed.social/user/settings More details at https://piefed.social/c/piefed_meta@piefed.social/p/2262951/hide-mark-a-post-as-read-without-voting-on-it
Thank you for the hint. I had that activated before. But quite sometimes I do want to interact (read, vote) but to still keep it in my inbox until I am done with it. With my script I can decide distinctively whether to hide it or not , independent of interactions. But probably for most people the built-in function is enough, so very good you mentioned it here. 👍 |
||
| 3 | |||
|
amunoto
piefed.social
amunoto@piefed.social Joined: 2026-07-06 |
I see rimu already mentioned. I have that setting and just now hit the read button. I love to not mark animal pictures as read so that when I refresh I see them again as I scroll through.
That's actually a good hint on the problem that I see; if it was not just pictures, but articles, you'd want to READ (open) them. But reading them would make them disappear with the setting that Rimu kindly pointed at (“Do not display posts with which I have already interacted (opened/upvoted/downvoted)”). |
||
| 1 | |||
|
HubertManne
piefed.social
HubertManne@piefed.social Joined: 2025-03-13 |
That's actually a good hint on the problem that I see; if it was not just pictures, but articles, you'd want to READ (open) them. But reading them would make them disappear with the setting that Rimu kindly pointed at (“Do not display posts with which I have already interacted (opened/upvoted/downvoted)”).
Yes this is correct and actually I can see why you would want it. I purposely don't interact with many pictures precisely because I would rather keep them in my feed than add a comment. |
||
| 2 | |||
| Post Reply |
Back to top |