TrashSlot mod wiki adds a garbage slot to your inventory allowing you to quickly and safely remove unwanted items.

The recycle bin slot keeps the last deleted item stored to allow you to get your recycle bin back. It can be dragged around and turned on or off on nearly any screen.
Featured
Trash slot to delete items by dropping them there
Remove the last trash can item in case of mistake by taking it back out of the trash bin
Trash bin slot position is configurable just by dragging the mouse pointer around it
Delete key to delete the item at the mouse pointer
Shift + Delete key to delete all items of the same type as the item at the mouse pointer
Options for customers. Only the server and those who want to use it need to install it.
Screenshots
How to install:
Make sure you have already installed Minecraft Forge.
Locate the minecraft application folder.
- Open Run from the start menu.
- Type %appdata%, click Run.
Input where TrashSlot Mod you have just downloaded (.jar file) into the Mods TrashSlot Mod folder.
When you open Minecraft, you see the mod is installed when click the button mods