A minimalistic site to vent and see others doing the same in realtime
111–120 of 148 posts
Re: A minimalistic site to vent and see others doing the same in realtime
#112You're warned: const messageText = inputTextBox.value.replace(/ ]+(>|$)/g, ""); var $newdiv = $(' ' + messageText + ' ').css({ 'opacity': '0.95' });
That's terrible. OP should take the site down and fix those issues.
Re: A minimalistic site to vent and see others doing the same in realtime
#113I've been wanting to do a tech trash talk site for a while. Sometimes I've got nothing but hate and vitriol for something and it'd be great to have a designated anonymous space where people can brood and lament. You can do things like sort by most capital letters and profanity density or incoherency and spelling errors. Now that I actually typed this out, it sounds really easy to code.
Re: A minimalistic site to vent and see others doing the same in realtime
#114Looks like you can query the database directly via their REST API: https://api.ventspace.life/api/v1/ventpost?sort=id,desc&size...
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.ventspace.life/api/v1/ventpost. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Re: A minimalistic site to vent and see others doing the same in realtime
#115Earlier quoted context omitted.
Ok interesting idea. My one fret here would be that it would decrease interactivity on the site. Sometimes people send messages in response to each other, right? But nonetheless I'll experiment with increasing the refresh rate and maybe strike a nicer balance
I agree with you. Realtime is the key intrigue after the site itself, people will go off it when they realise it's not live.
Re: A minimalistic site to vent and see others doing the same in realtime
#116I haven't looked, but I'm guessing that it will be filled with ethnic slurs and bitcoin spam soon, if it isn't already.
Re: A minimalistic site to vent and see others doing the same in realtime
#117You're warned: const messageText = inputTextBox.value.replace(/ ]+(>|$)/g, ""); var $newdiv = $(' ' + messageText + ' ').css({ 'opacity': '0.95' });
Holy hell, OP. What prevents me from just calling "postMessage" directly myself, which does nothing to prevent the "sanitation" that the replace function call there is supposed to do? Please sanitize messages on the server instead.
As an exercise I'd love it someone actually posted a payload to exploit that regex.
Re: A minimalistic site to vent and see others doing the same in realtime
#118Re: A minimalistic site to vent and see others doing the same in realtime
#119This is great. It fills the same role as Twitter, but people's posts disappear after a few seconds, making it better than Twitter. I'm serious here. Twitter's a cesspool filled with people venting about random crap. So is Ventscape. We all need to vent sometimes, there's nothing inherently wrong with that. But the problem with Twitter is that it preserves and amplifies your venting until the end of time, which is the…
It's mined by the same agencies that monitor everything. So your venting is deleted for yourself, but preserved eternally for the people with power over you. I rather like it.
Re: A minimalistic site to vent and see others doing the same in realtime
#120Looks like you can query the database directly via their REST API: https://api.ventspace.life/api/v1/ventpost?sort=id,desc&size...
Most of my requests are failing with Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.ventspace.life/api/v1/ventpost . (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).