Google Bangs

Google Bangs

An extension to add duckduckgo bangs to google and startpage searches

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Google Bangs",
  "version": "1.2",
  "description": "An extension to add duckduckgo bangs to google and startpage searches",
  "background": {
    "scripts": [
      "background.js",
      "bang.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "https://*.startpage.com/*"
      ],
      "js": [
        "startpage.js",
        "check_for_bang.js"
      ]
    },
    {
      "matches": [
        "http://www.google.com/*",
        "http://www.google.co.jp/*",
        "http://www.google.co.uk/*",
        "http://www.google.es/*",
        "http://www.google.ca/*",
        "http://www.google.de/*",
        "http://www.google.it/*",
        "http://www.google.fr/*",
        "http://www.google.com.au/*",
        "http://www.google.com.tw/*",
        "http://www.google.nl/*",
        "http://www.google.com.br/*",
        "http://www.google.com.tr/*",
        "http://www.google.be/*",
        "http://www.google.com.gr/*",
        "http://www.google.co.in/*",
        "http://www.google.com.mx/*",
        "http://www.google.dk/*",
        "http://www.google.com.ar/*",
        "http://www.google.ch/*",
        "http://www.google.cl/*",
        "http://www.google.at/*",
        "http://www.google.co.kr/*",
        "http://www.google.ie/*",
        "http://www.google.com.co/*",
        "http://www.google.pl/*",
        "http://www.google.pt/*",
        "http://www.google.com.pk/*",
        "https://www.google.com/*",
        "https://www.google.co.jp/*",
        "https://www.google.co.uk/*",
        "https://www.google.es/*",
        "https://www.google.ca/*",
        "https://www.google.de/*",
        "https://www.google.it/*",
        "https://www.google.fr/*",
        "https://www.google.com.au/*",
        "https://www.google.com.tw/*",
        "https://www.google.nl/*",
        "https://www.google.com.br/*",
        "https://www.google.com.tr/*",
        "https://www.google.be/*",
        "https://www.google.com.gr/*",
        "https://www.google.co.in/*",
        "https://www.google.com.mx/*",
        "https://www.google.dk/*",
        "https://www.google.com.ar/*",
        "https://www.google.ch/*",
        "https://www.google.cl/*",
        "https://www.google.at/*",
        "https://www.google.co.kr/*",
        "https://www.google.ie/*",
        "https://www.google.com.co/*",
        "https://www.google.pl/*",
        "https://www.google.pt/*",
        "https://www.google.com.pk/*"
      ],
      "js": [
        "google.js",
        "check_for_bang.js"
      ]
    },
    {
      "matches": [
        "https://www.bing.com/*",
        "http://www.bing.com/*"
      ],
      "js": [
        "bing.js",
        "check_for_bang.js"
      ]
    }
  ],
  "permissions": [
    "webRequest",
    "tabs",
    "webRequestBlocking",
    "activeTab",
    "https://duckduckgo.com/bang_lite.html",
    "https://*.google.com/search*",
    "https://*.startpage.com/do/dsearch*"
  ],
  "icons": {
    "256": "icon.png"
  },
  "manifest_version": 2
}