Word and Page Count for Google Docs

Status bar display of word and page count in Google Docs.
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Word and Page Count for Google Docs",
  "version": "1.3",
  "manifest_version": 2,
  "web_accessible_resources": [
    "statusbar.html"
  ],
  "description": "Status bar display of word and page count in Google Docs.",
  "background": {
    "page": "background.html"
  },
  "page_action": {
    "default_icon": "icon.png",
    "default_title": "Ready to count words and pages in Google doc"
  },
  "content_scripts": [
    {
      "matches": [
        "https://docs.google.com/document/*"
      ],
      "js": [
        "main.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "icons": {
    "48": "48.png",
    "128": "128.png"
  },
  "options_page": "fancy-settings/source/index.html"
}