See the post after this for instructions on installing and using.
-----
I'm writing a script that you can use with the Tampermonkey extension to hide a user's quoted messages with a motivational quote.
Motivation & use case: If a user is bothering you, you can add them to your ignore list, but there's a problem. Other users can quote their messages, and you can still see that, which defeats the purpose of the ignore feature. So I set out to do something about that.
How it works: Install the Tampermonkey browser extension, I give you the javascript, you provide the script usernames, and it will replace those usernames' posts with a motivational quote. Click on the quote to receive a new quote.
Here's a video demo of what I have so far:
https://p192.p3.n0.cdn.getcloudapp.c...56e4e01f4675cb
TODO:
- [ ]Support more than one username
- [DONE]Instead of just replacing quoted posts, also replace the original post with a quote
- [DONE]Make a version of the script that will just hide the message with "Hidden" or something instead of using the quote API
- [ ]Make sure I'm not accidentally targeting unintended elements in the page
- [DONE]Make more user friendly and easy to setup?
- [ ]Ability to customize styling so you can have your own font, font size, and colors?
- [ ]Refactor/cleanup
Unfortunately this is right now extremely not user-friendly. I'm using rapidapi.com. If I provided the script, I'm not going to share my API key. So you would have to sign up at rapidapi.com, and navigate to this page:
Quotel - Quotes API Documentation (skjaldbaka17) | RapidAPI and subscribe to the API, then you have to modify the script (it's easy and I can provide a screenshot) to provide your personal API key. All of that is way too much of a pain in the ass.
The only way to make this really user-friendly is to create a Chrome extension, which instead of calling rapidapi.com directly, the request is routed to a proxy server I would have to setup, which then routes the request to rapidapi.com. That way, only the proxy server needs the API key, and nobody has to do anything except install the browser extension.
I might actually do all of this because I'm in the market for a new job, and I think it would be really funny if I was showing off my projects in an interview and I pulled up freethought-forum.com for a demonstration of my tool.