Reddit Block

Blocks reddit and redirects to technical blogs.
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "manifest_version": 2,
  "name": "Reddit Block",
  "version": "1.3",
  "description": "Blocks reddit and redirects to a random article from hackernews, a random article from an RSS feed and/or a site picked from a list of sites.",
  "icons": {
    "48": "icons/border-48.png"
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.reddit.com/*"
      ],
      "js": [
        "reddit_block.js"
      ]
    }
  ],
  "permissions": [
    "https://hacker-news.firebaseio.com/v0/*",
    "*://*/*",
    "webRequest",
    "storage"
  ],
  "options_ui": {
    "page": "options.html",
    "browser_style": true
  },
  "browser_action": {
    "browser_style": true,
    "default_popup": "options.html",
    "default_icon": {
      "16": "icons/border-16.png",
      "32": "icons/border-32.png"
    }
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{933266a5-7735-4235-aab8-522fc7ca4a06}"
    }
  }
}