Skip to main content
Urban Dictionary Merch
Your favorite words on things you can wear, drink from, read, or give to a friend.
The Urban Dictionary Store sells gifts you’ll have to explain.

Prices in USD. Free US shipping. International shipping and regional book fees are shown before payment.

javascript:void(0)

What you just did. You were tired and your clumsy hand dragged one of the buttons above the Search Bar into the Search Bar. Don't worry, we've all been through this.
"- How tf does it know??"

You, right now in front of your screen after having accidentally searched for "javascript:void(0)".

javascript:void(0)

What you just saw when you dragged a UI element into the search bar. This happens because web developers really like to use the HTML <a> element for buttons instead of the actual <button> element. You can give the element functionality by listening for its click event and doing things then, but the <a> element is intended for creating hyperlinks and as such won't work without a set href attribute (AKA the link that you are taken to when you click on it). Therefore, you can use the void JavaScript operator, which will return the value undefined. If the browser is told to go to undefined, it will just keep the current page open. void will also evaluate its operands first, so <a href="javascript:void(alert('you clicked me'))">click me</a> would show "you clicked me" when clicked, but most people would just use javascript:void(0) and alert "you clicked me" on the click event, as said before. Urban Dictionary uses the javascript:void(0) technique for some of its UI elements, so when you just dragged the browse (or categories, or cart) button into the search bar, and I know you did, its href attribute was copied into the search bar, and now you're looking at javascript:void(0) and contemplating your life choices.
guy 1: god fucking damn it i just dragged a ui element into the search bar and searched for javascript:void(0), thats so annoying why does it even happen

guy 2: it happens because people cant use the <button> element and have to use <a> for some reason
javascript:void(0) by rtxmorshu February 2, 2021

Javascript 

A nondeterministic markup language suspected to be Turing complete. Its users are often mistakenly called developers.
On the seventh day God took a shit and javascript was born.
Javascript by EducatedGuess March 4, 2018

javascript 

A computer programming language, provides a source of endless suffering for many poor middle-schoolers throughout the world (including myself).
"You have an assignment on javascript for summer break"

Javascript 

The ultimate bloat machine, f**ck javascript all my homies use holy C
YO javascript is lit
It ain't
Javascript by anonymous September 15, 2020

Javascript 

A powerful, object-based, interpreted scripting language, created by Brendan Eich, most commonly embedded directly into HTML web pages to manage client-side interaction.
JavaScript is so beautiful and elegant it brings tears to my eyes. I love using it. It completes me as a person.
Javascript by Dan Fox June 24, 2003
More from Urban Dictionary
The phenomenon where adults salivate at children's toys
Every time I walk into the toy aisle, I catch myself kidulting over the latest action figures and LEGO sets!
kidulting by Emotional Cruiser October 12, 2025
Word of the Day on October 4, 2026
British slang for a scientist or technical expert, esp . when the speaker is not certain of the expert’s specific field of study. Not necessarily derogatory, but typically used by persons without a technical background. In the US, the equivalent would be “egghead”, “squint”, or “geek.”

Origin of the word is unknown. Started sometime in World War 2. Given the typical evolution of British slang, could easily have started because what these experts did was confusing or “baffling” to the common person.
According to the boffins downstairs, the murderer used a serrated blade.
Boffin by Agnon February 11, 2023
Word of the Day on October 3, 2026

Pee Calculus

When you have to pee in a movie but don’t want to miss anything, and must do the following mental equation: will the amount I have to pee cause enough discomfort to diminish my attention capacity for the remainder of the movie to an extent which is greater than the amount of the movie I would miss by making a mad dash to the restroom.
I saw Satantango last night, wonderful film but by the 5th hour I had to start doing pee calculus.
Pee Calculus by anorlondo October 1, 2026
Word of the Day on October 2, 2026
Literally "dirty" pronounced with a West Indian accent. Can also have a positive connotation, for example Sean Paul's album title "Dutty Rock".
"The girl is pretty but she corrupt and dutty!"

or, in a positive usage:

"Booya! That freestyle was dutty!"
Dutty by J Hall April 3, 2003
Word of the Day on October 1, 2026
korean word for madam, older woman
Ajumma wait a moment
Ajumma by aintnotinbutnice July 5, 2009
Word of the Day on September 30, 2026

Slop Grenade

When someone uses AI to generate a large document, slide deck, or piece of code/software and tosses it over the fence for you to deal with.
Chad: Hey Brent I sent you the new backend API change to review, it’s only 100 files changed.

Brent: he just tossed me a slop grenade
Slop Grenade by Joe Squid September 28, 2026
Word of the Day on September 29, 2026
Load more