Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I've no idea what people expect right clicking a delete link to open in a new tab to do?

I expect it to issue the delete, and then dump the response to the delete into a new tab rather than navigating away from the page that hosts the delete link.

There might be ten other delete links on the original page, and I don't want to delete-back-delete-back-delete-back, when I can just open all of them in a new tab, then go through the tabs to look for errors.



That sounds like the right behaviour to me, although there is an arguably nasty non-idempotence. Click it the first time and you get a DELETE response. Click it the second time and you get a 404.


That is still idem potent. In both cases after the request is performed the resource is still deleted.


What if the response to the delete were a redirect back to the same page - would that be reasonable?




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: