Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Custom Bangs

Custom Bangs by lys

An extension that provides custom bang shortcuts for quick navigation and search, similar to DuckDuckGo bangs but fully customizable.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Pre-loaded with 25+ popular bangs (Google, YouTube, Wikipedia, GitHub, etc.)
Only processes queries starting with ! - all other searches handled by your default search engine

Features

Easy management - Add, edit, and delete custom bangs through a beautiful UI
Import/Export - Share your bang collections as JSON files
Search & Filter - Quickly find bangs in your collection
Persistent storage - Your custom bangs are saved across browser sessions
Case-insensitive - Bangs work regardless of case
Domain badge counter - Shows number of bangs for current domain
Context menu - Right-click extension icon for quick actions
Domain filtering - View/delete bangs by domain

How It Works:

When you type a query in the address bar starting with !, the extension intercepts it and redirects to your configured URL:
!g cats → Searches Google for "cats"
!yt music → Searches YouTube for "music"
!gh firefox → Searches GitHub for "firefox"
cats !g → Uses default search engine (bang must be at the start)
Simply type ! followed by a bang trigger and your search terms in the address bar:

Managing Bangs

Click the extension icon in the toolbar, or right-click the extension icon and select "Options".
From the options page you can:
Add new bangs - Click "+ Add Bang" button
Edit existing bangs - Click "Edit" button next to any bang
Delete bangs - Click "Delete" button
Search bangs - Use the search box to filter
Export bangs - Download your collection as JSON
Import bangs - Upload a JSON file to import
Reset to defaults - Restore the original bang collection

Creating Custom Bangs

When creating a bang, you need to provide:
- Trigger: The shortcut (e.g., g for Google)
- URL Template: The URL with {{{s}}} as placeholder for search terms
Example: https://www.google.com/search?q={{{s}}}
- Description: A human-readable description

Default Bangs Included

!g - Google Search
!gi - Google Images
!gm - Google Maps
!yt - YouTube
!w - Wikipedia
!a - Amazon
!gh - GitHub
!so - Stack Overflow
!r - Reddit
!tw - Twitter/X
!imdb - IMDb
!wa - Wolfram Alpha
!dd - DuckDuckGo
!bing - Bing
!mdn - MDN Web Docs
!npm - npm
!py - Python Docs
!translate - Google Translate
!maps - Google Maps
!ebay - eBay
!news - Google News
!scholar - Google Scholar
!linkedin - LinkedIn
!wayback - Wayback Machine
!giphy - Giphy
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Access browser tabs
  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support Email
Version
1.0.4
Size
25.3 KB
Last updated
9 days ago (Dec 7, 2025)
Related Categories
  • Search Tools
License
MIT License
Version History
  • See all versions
Tags
  • image search
  • search
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.