pg_docs_bot

Redirects PostgreSQL docs links to the current version (except when coming from the docs, or to deprecated features).
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": "pg_docs_bot",
  "version": "1.0.2",
  "description": "Redirects PostgreSQL docs links to the current version (except when coming from the docs, or to deprecated features).",
  "homepage_url": "https://github.com/mchristofides/pg_docs_bot",
  "manifest_version": 2,
  "icons": {
    "48": "slonik_in_glasses_48.png",
    "128": "slonik_in_glasses_128.png"
  },
  "permissions": [
    "webRequest",
    "webRequestBlocking",
    "https://www.postgresql.org/docs/*",
    "https://*.google.com/*",
    "https://*.duckduckgo.com/*",
    "https://*.ecosia.org/*",
    "https://*.bing.com/*",
    "https://stackoverflow.com/*",
    "https://dba.stackexchange.com/*",
    "https://search.brave.com/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "https://www.postgresql.org/docs/*"
      ],
      "js": [
        "pgdocsbotnotice.js"
      ]
    }
  ],
  "background": {
    "scripts": [
      "redirectdocs.js"
    ]
  }
}