Scroll to the top or bottom of any page

Scroll to the top/bottom of any page peacefully.
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,
  "version": "1.1.0",
  "author": "Saurabh Jayesh Das",
  "name": "Scroll to top or bottom",
  "description": "Scrolls to the top/bottom of any page",
  "browser_action": {
    "browser_style": true,
    "default_icon": "icon/icon.png",
    "default_title": "Scroll to top or bottom",
    "default_popup": "html/popup.html"
  },
  "permissions": [
    "activeTab",
    "https://*/*",
    "http://*/*",
    "tabs",
    "<all_urls>"
  ],
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*",
        "<all_urls>"
      ],
      "js": [
        "content.js"
      ],
      "css": [
        "background.css"
      ]
    }
  ]
}