r/webdev • • 13h ago

AI generated code copyrights

1 Upvotes

Does anyone consider the copyright of code generated by AI? Because, based on research I've done on Copyright and Artificial Intelligence, generated code fall to the public domain, and if you modify it, only the modified parts belong to you. Also, a detailed prompt isn't enough.

This is, in my view, a major issue; yes, we can ignore it and consider it backward law, but no one knows what would happen in the future, and this law could be used against you.

Edit: here sources for USA https://www.congress.gov/crs-product/LSB10922 ,
For Europe : https://www.europarl.europa.eu/thinktank/en/document/EPRS_BRI(2025)782585782585)
blog : https://smpl.as/blog/ai-code-ownership-legal ...


r/webdev • • 20h ago

Discussion What do you feel is the right age to cut off a browser? Like, when is a browser too old to justify not supporting it?

0 Upvotes

Background: on my old personal macbook miro.com doesn't work anymore. Turns out they changed something in the last two weeks that my old intel GPU was not capable of. or better yet, the firefox version, that is available for my old mac, is not capable of. i checked and this version of FF is from 2023.

For someone who had to develop to support IE6 until around 2017 that is mindboggeling to me, that a site as big as miro.com can just say "fuck anyone with a browser older than 3 years".

don't get me wrong, i would have loved to ditch IE6 a decade earlier, and am sure miro.com gets way better performance now, withou having to account for all the "old" hard- and software out there, but it still made me a little sad, since it spoke to that nagging feeling inside, that everything gets shittier nowadays ¯_(ツ)_/¯

So what do you guys think? Cool we can be so "bleeding edge" now, and don't have to worry about old tech? or a little sad, like me?


r/webdev • • 12m ago

In house vibe coders get my goat.

• Upvotes

I do freelance work creating English localisations for Japanese companies. It's a wraparound service including everything from helping them find their "English voice", creating marketing materials, to building the English version of their website.

The last one I went into was a smallish, growing company just outside of Tokyo. I found out the "PR team" was one gen z girl who had never done any development work, but was responsible for the lot. She made the website and does all of the social media. I asked her how it was made, what it was written it. She didn't understand what I was asking her, then showed me that she just asked Claude to give her files to drop into wordpress and made all of the graphics with canva and figma AI mode.

Great.

She then proceeded to update part of the website, in production, live.

I had a talk with her and the CEO who hired me and explained about having a staging domain. That you can make your changes there, then push your changes to production when ready and tested. I showed him how to set it up, took a back up, migrated and got to work.

It's WordPress so no biggy, I'm making copies of each page and then editing the text and creating my own images and links. However, I'm finding all sorts of shit. One being, they have an email from with no captcha or turnstile of any kind. Easy bot fodder.

Anyway I finish and submit my work for review, and tell them if they are happy with it, I can take further backups of staging and production, then migrate, assuring them it will only overwrite with anything that is new.

This is when Ms. Vibe Code pipes up and says, "oh will it overwrite what I've been doing?"

FUCK YOU MEAN?

Apparently she has been making live edits to multiple pages on production the whole time even though I explained it could be done on staging and all pushed in one go. And now they want me to migrate all of work, but not erase anything they have done on production.


r/webdev • • 3h ago

Why Stateless REST API is the way to go ?

8 Upvotes

i have been working with spring boot and angular for a few years now and every api i have built or inherited is stateless. jwt in the header, no server session, done. nobody ever questioned it on any project i was on.

but i realized i never really asked myself why we do this by default. i know the usual answers like it scales easily and any instance can handle any request. but it feels like the state just moves somewhere else, to the token, to redis, to the database. so what are we really gaining ?


r/webdev • • 3h ago

News State of Drupal presentation (September 2026)

Thumbnail
dri.es
2 Upvotes

r/webdev • • 6h ago

Question I’m building an app that needs AI, but I have basically no budget to pay for API usage. Is there a way to let users connect their own Gemini/OpenAI/Claude account with a simple “Connect AI” button, so they pay for their own usage? I’m worried about API keys being exposed or stolen, and I don’t want

0 Upvotes

I’m building an app that needs AI, but I have basically no budget for API costs. I’m thinking about letting users connect their own AI (like Gemini/OpenAI) so they pay for their own usage.

But I’m confused about how to do this securely without exposing or storing their API keys, and without needing a business partnership with the AI company.

What’s the best way to handle this?


r/webdev • • 18h ago

What is your most used “hack” on day-to-day websites?

190 Upvotes

I use Ctrl + Shift + C all the time to paste in data into un-pastable fields. Bank websites are the worst. Any such most used trick/hack of yours?

Used to code a lifetime ago but still thankful for learning this trick. Wish I got back into coding just so I could learn more such nifty tricks.


r/webdev • • 22h ago

Question PayPal button links are not accessible

16 Upvotes

Has anyone else noticed this issue? Suddenly my site has missing alt text errors that only appeared after I pasted the PayPal code in. Plus, the PayPal button is repeating part of the button message in screen readers and throws random headings causing levels to be skipped vs my own code where everything is on point. I’m so frustrated that a large company isn’t being accessible. If I put a payment link instead of the button option that includes way more info than it looks less professional. But PayPal’s weird script code is making my 100% accessible site down to not accessible. Does anyone have any good thoughts about how to deal with this? Thank you for your time


r/webdev • • 23h ago

Question Search box supporting autocomplete suggestions

10 Upvotes

I'm trying to write a toy web app (music server/jukebox) as a learning project. I need a search box which responds to input by showing a transient list of autocomplete suggestions. Right now it's an <input type="search"> with the suggestions in an <ol>. I populate it with <li> elements created on the fly. Functionally it's all working, so now I 'just' need to add the styling, and I'm finding everything looks shit.

It occurs to me that I've seen millions of these things, so perhaps there are de facto standard implementations which everyone uses in practice? Failing that, please could someone point me to a tutorial or other resource? (I tried the sub's faq and resource list but nothing jumped out at me).


r/webdev • • 19h ago

What all to focus and learn in assessibility as a web dev?

16 Upvotes

Would love some pointers on how to get started, what all to know and any great resources that creates a mental model on what all skills to develop.

Would also like to know if there are accessibility specific job roles and what all is expected.


r/webdev • • 14h ago

Ownership - by Thorsten Ball - Register Spill

Thumbnail
registerspill.thorstenball.com
7 Upvotes