logo for basementcommunity

basement
community

search

wall of shame

basement community turns 2!!! check out the anniversary thread for some updates and come say hi! thanks everybody for posting here and have a good holiday season

general JavaScript-powered webrings

deleted_user

joined some time ago

avatar

deleted_user

joined some time ago

content has been deleted

posted 10/2/2023, 5:19 pm

joined dec 4, 2022

avatar

joined dec 4, 2022

i tried to join some webrings that were powered by JS, but i ended up deciding against it because a lot of the time, they were poorly written scripts, and would error out if it couldn't find the element on the page instead of silently failing, so they didn't necessarily work that well for a universally-rendered site like this. i could just include the script on the specific page i need it, but the way the markup is structured on this site doesn't really lend itself well to one-off scripts on a specific page, and ultimately isn't worth the effort.

also, it seems like a genuinely worse experience to have an <a /> tag that has no hyperlink until some JS has been executed. I think having some backend to support a webring should be a must for anybody looking to create one. I was hoping to join the https://forum.agoraroad.com webring (https://voicedrew.xyz/wr/), but until they have a server-side implementation, i probably won't

posted 10/3/2023, 10:53 pm

deleted_user

joined some time ago

avatar

deleted_user

joined some time ago

content has been deleted

edited 10/4/2023, 12:00 am

joined sep 11, 2024

avatar

the path is grey

joined sep 11, 2024

quoting orchids:

i tried to join some webrings that were powered by JS, but i ended up deciding against it because a lot of the time, they were poorly written scripts, and would error out if it couldn't find the element on the page instead of silently failing, so they didn't necessarily work that well for a universally-rendered site like this. i could just include the script on the specific page i need it, but the way the markup is structured on this site doesn't really lend itself well to one-off scripts on a specific page, and ultimately isn't worth the effort.

also, it seems like a genuinely worse experience to have an <a /> tag that has no hyperlink until some JS has been executed. I think having some backend to support a webring should be a must for anybody looking to create one. I was hoping to join the https://forum.agoraroad.com webring (https://voicedrew.xyz/wr/), but until they have a server-side implementation, i probably won't

My biggest problem with it was how they will want you to load Javascript from their server and run it on your page. It involves a lot of trust that I just don't have. Maybe we should come up with a list of reasons why we don't like these kinds of webrings and try to educate maintainers about it?

posted 9/12/2024, 6:26 pm

joined dec 4, 2022

avatar

joined dec 4, 2022

quoting hightax:

My biggest problem with it was how they will want you to load Javascript from their server and run it on your page. It involves a lot of trust that I just don't have. Maybe we should come up with a list of reasons why we don't like these kinds of webrings and try to educate maintainers about it?

yeah another good point. i feel like the people who make JS webrings are mostly hobbyist that aren't professional programmers, but it only takes one malicious person to give the whole thing a bad look

posted 9/14/2024, 9:29 pm

joined sep 9, 2024

avatar

joined sep 9, 2024

Maybe there is something obvious I am missing here but is there any reason that a webring page couldn't just be iframed in?

You would be losing control over styling on the frame contents, but nothing is needed other than regular HTML and somebody to maintain the list of links on the core webring page, which most webrings have anyway. It would look a little disjointed from the rest of the site but IMO this isn't a bad trade off, as it's links to other's content and having it look different makes it clearer that you aren't responsible for anything on those other sites.

If you really wanted to you could probably periodically download the iframe page and use your own CSS with it, no Javascript needed, just a little scripting and reading the HTML to make sure there isn't anything dodgy in there.

posted 9/15/2024, 1:07 pm

joined jan 27, 2023

avatar

Did You Get My Message?

joined jan 27, 2023

I just joined one recently that does similar to a few other where they are like: "Here's the code, copy it over / upload it to your site". I do that but then ofc I get the email "hey pls wen u hab da chance, pls update to new code: url" bruh.

posted 9/15/2024, 4:09 pm

joined dec 4, 2022

avatar

joined dec 4, 2022

quoting unhealthymelon:

Maybe there is something obvious I am missing here but is there any reason that a webring page couldn't just be iframed in?

You would be losing control over styling on the frame contents, but nothing is needed other than regular HTML and somebody to maintain the list of links on the core webring page, which most webrings have anyway. It would look a little disjointed from the rest of the site but IMO this isn't a bad trade off, as it's links to other's content and having it look different makes it clearer that you aren't responsible for anything on those other sites.

If you really wanted to you could probably periodically download the iframe page and use your own CSS with it, no Javascript needed, just a little scripting and reading the HTML to make sure there isn't anything dodgy in there.

shrug smiley idk

honestly yeah, it's worrying over nothing and there are ways around it. personally, I just prefer to have full control over the content on my own site and I think JS-based webrings are the worst option. But even with a server-side approach, there's nothing stopping the author from changing the source image of the webring button to be a little 88x31 image of swastikas that reads "I HATE JEWS!!!!!" or something similar lol

posted 9/15/2024, 7:46 pm

general JavaScript-powered webrings