Reddit-Sidebar-Hider

Reddit-Sidebar-Hider

This simple chrome extension toggles the sidebar on Reddit to reclaim some space the sidebar wastes. To toggle the sidebar click…

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "Reddit-Sidebar-Hider",
  "version": "1.4",
  "permissions": [
    "storage",
    "tabs",
    "https://www.reddit.com/*",
    "http://www.reddit.com/*"
  ],
  "icons": {
    "16": "images/16_icon.png",
    "32": "images/32_icon.png",
    "64": "images/64_icon.png",
    "128": "images/128_icon.png"
  },
  "content_scripts": [
    {
      "all_frames": true,
      "matches": [
        "https://www.reddit.com/*",
        "http://www.reddit.com/*",
        "http://np.reddit.com/*",
        "https://np.reddit.com/*"
      ],
      "js": [
        "content.js"
      ],
      "run_at": "document_end"
    }
  ],
  "browser_action": {
    "default_icon": "images/128_icon.png",
    "default_title": "Toggle Reddit Sidebar"
  },
  "background": {
    "scripts": [
      "eventpage.js"
    ],
    "persistent": false
  },
  "externally_connectable": {
    "ids": [
      "*"
    ],
    "matches": [
      "https://www.reddit.com/*",
      "http://www.reddit.com/*",
      "http://np.reddit.com/*",
      "https://np.reddit.com/*"
    ]
  },
  "web_accessible_resources": [
    "images/*.png"
  ]
}