The 20 Second Rule

The 20 Second Rule

The 20 Second Rule Chrome Extension is a simple productivity tool that enables you to make distracting sites 20 seconds harder to…

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "background": {
    "scripts": [
      "background.js"
    ],
    "persistent": false
  },
  "browser_action": {
    "default_icon": {
      "19": "icons/icon-off-19.png",
      "38": "icons/icon-off-38.png"
    },
    "default_popup": "popup/popup.html",
    "default_title": "The 20 Second Rule"
  },
  "icons": {
    "128": "icons/icon-off-128.png"
  },
  "name": "The 20 Second Rule",
  "permissions": [
    "tabs",
    "http://*/*",
    "https://*/*",
    "contextMenus"
  ],
  "version": "1.0",
  "manifest_version": 2,
  "web_accessible_resources": [
    "inject/inject.css"
  ],
  "options_page": "options/options.html",
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "inject/inject.js"
      ],
      "run_at": "document_start"
    }
  ]
}