frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Why do websites prevent pasting via onpaste="return false;"

3•gleenn•2h ago
Why do websites do this? Isn't it trivial for bots etc to easily side-step any protection this might give? Or is it just to make people "double-check" their inputs? I find it completely maddening because I would assume I'm way more likely to correctly input a copy-pasted e.g. routing or account number than if I have to manually enter anything. Can we just agree this is terrible UI and is probably detrimental to correct data entry? What am I missing? In frustration I even sometimes open the dev tools and remove this attribute on elements out of spite.

Comments

pwg•2h ago
> Can we just agree this is terrible UI

It is, but they had some "checklist" that included "block paste" for reasons unknown, and so they blocked pasting.

In firefox, if you change the about:config setting "dom.event.clipboardevents.enabled" to false you'll be able to paste no matter whether the website operator has "block paste" on their braindead checklist or not.

Working on Complex Systems

https://www.thecoder.cafe/p/complex-systems
1•mifydev•7m ago•0 comments

Coupling furfural oxidation for H2 production using silicon photoelectrodes

https://www.nature.com/articles/s41467-025-58000-4
1•PaulHoule•9m ago•0 comments

A formatter for your kdl files

https://github.com/hougesen/kdlfmt
1•riegerj•10m ago•1 comments

How to Think Like an LLM

https://substack.com/@williamwear/note/c-115649060
1•billwear•11m ago•0 comments

NSF faces shake-up as officials abolish its 37 divisions

https://www.science.org/content/article/exclusive-nsf-faces-radical-shake-officials-abolish-its-37-divisions
4•pbui•12m ago•1 comments

City of Zagreb 3D Model Data (Croatian)

https://data.zagreb.hr/dataset/zg3d-2022-3d-model-gz
1•einhard•14m ago•0 comments

Materialized View Strategies Using PostgreSQL (2015)

https://hashrocket.com/blog/posts/materialized-view-strategies-using-postgresql
1•jdnier•15m ago•0 comments

Israel retrofitting DJI commercial drones to bomb and surveil Gaza

https://www.aljazeera.com/news/2025/5/8/israel-retrofitting-dji-commercial-drones-to-bomb-and-surveil-gaza
4•Qem•18m ago•1 comments

She's Ma Rather Die

https://tunetrax.com/sbonelo-blackheart/gallery/shes-ma-rather-die/all
2•Grenadecolor•20m ago•1 comments

You can now connect GitHub repos to ChatGPT Deep Research

https://twitter.com/openaidevs/status/1920556386083102844
1•zora_goron•21m ago•0 comments

UQLM: Uncertainty Quantification for Language Models

https://github.com/cvs-health/uqlm
1•dlnb1•21m ago•0 comments

Ghost meetings are a growing RTO problem but Google could fix it

https://jedfonner.com/posts/2025-04-20-Ghost-Meetings
1•j3d•24m ago•0 comments

If Free Buses Aren't Wise, What About Cheaper Citi Bikes?

https://www.vitalcitynyc.org/articles/if-free-buses-arent-wise-what-about-cheaper-citi-bikes
1•raybb•25m ago•0 comments

Cogentcore: Open-source framework for building multi-platform apps with Go

https://github.com/cogentcore/core
2•kristianp•31m ago•0 comments

Show HN: Create professional press kit for your startup

https://pressdeck.io
1•Finale•32m ago•0 comments

Curl takes action against time-wasting AI bug reports

https://www.theregister.com/2025/05/07/curl_ai_bug_reports/
2•raybb•32m ago•0 comments

YC Request for Startups (RFS) Summer 2025

https://www.ycombinator.com/rfs?2025
1•cryptoz•36m ago•0 comments

Quentin Tarantino – What is the movie you want to see? (2017)

https://www.indiewire.com/features/general/quentin-tarantino-storytelling-tip-video-afi-1201873426/
2•walterbell•36m ago•1 comments

Ask HN: What have you built that took a long time but eventually succeeded?

2•irishmansevilla•36m ago•0 comments

Linear Programming for Fun and Profit

https://modal.com/blog/resource-solver
1•gk1•38m ago•0 comments

Building your own Atomic (bootc) Desktop

https://fedoramagazine.org/building-your-own-atomic-bootc-desktop/
1•nobody9999•40m ago•0 comments

Show HN: Find Profitable Real-Time Crypto Arbitrage Opportunities

https://www.sharkshimi.com/
1•MattELab•45m ago•0 comments

Startup helps farmers grow plant-based feed and fertilizer using wastewater

https://news.mit.edu/2025/fyto-helps-farmers-grow-plant-based-feed-and-fertilizer-using-wastewater-0506
1•gnabgib•48m ago•0 comments

Nuclear arsenals in Pakistan and India portend regional catastrophe (2019)

https://www.science.org/doi/10.1126/sciadv.aay5478
1•Jimmc414•50m ago•0 comments

Connecticut Fire Officials Warn Against TikTok Challenge That Can Result in Fire

https://portal.ct.gov/das/press-room/press-releases/2025/connecticut-fire-officials-warn-against-tiktok-laptop-challenge-which-can-result-in-fire
2•josephcsible•52m ago•0 comments

Ask HN: My company is forcing 1 week sprints. What should I do?

1•mcsolid•54m ago•5 comments

Anchor links copied from project READMEs now add a query parameter

https://github.com/orgs/community/discussions/70577
2•mooreds•54m ago•0 comments

State-Tracer – Visualize Recoil and Jotai State Dependencies

1•apple-yagi•54m ago•0 comments

Creating a Search Engine for Fun

https://vincents.dev/blog/creating-a-search-engine/
2•mooreds•55m ago•0 comments

Creating Products People Want with Brian Pontarelli [video]

https://www.youtube.com/watch?v=sjbrojPqpYo
1•mooreds•56m ago•0 comments