HN commands

HN commands

Use Chrome omnibox to run `grep`, `user` and `depth` commands on HN comments. Type 'hn grep' in addressbar to get started.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "HN commands",
  "short_name": "go",
  "description": "Use Chrome omnibox to run `grep`, `user` and `depth` commands on HN comments. Type 'hn grep' in addressbar to get started.",
  "version": "0.3.0",
  "author": "Sina Siadat <[email protected]>",
  "homepage_url": "https://github.com/siadat/chrome-hn",
  "content_scripts": [
    {
      "matches": [
        "https://news.ycombinator.com/*",
        "http://localhost:8080/*"
      ],
      "js": [
        "common.js"
      ],
      "css": [
        "hn.css"
      ]
    }
  ],
  "permissions": [
    "https://news.ycombinator.com/*",
    "http://localhost:8080/*"
  ],
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "omnibox": {
    "keyword": "hn"
  },
  "icons": {
    "16": "hn.png"
  }
}