pg_docs_bot

Redirects PostgreSQL docs links to the current version (except when coming from the docs, or to deprecated features).

什么是pg_docs_bot?

pg_docs_bot是由michristofides开发的Chrome扩展程序,该扩展的主要功能是“Redirects PostgreSQL docs links to the current version (except when coming from the docs, or to deprecated features).”。

扩展截图

screenshot
screenshot

下载pg_docs_bot扩展crx文件

下载pg_docs_bot扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        When you search for Postgres related things, an old version of the documentation is sometimes indexed. Similarly, some answers on sites like Stack Overflow link to old versions of the documentation. 

pg_docs_bot helps you avoid the annoyance of having to click "Current" when you get there, the frustration of having read the whole page before realising it was an old version, or even not realising that it was an out of date version.

Features:
* Redirects links to the "current" version
* After redirecting, displays a notice (including a link to the page you were redirected from)
* Avoids redirecting some deprecated features (to avoid 404s)
* Doesn't redirect when coming from another page in the docs, so you can still check old versions (the main problem with generic redirectors)

Limitations:
* Only supports redirecting to "current"
* Works for the English language docs
* Works for version 7.0 links upwards
* Chrome extension works on a limited list of search engines and stack exchange sites (to avoid needing  permission)                    

扩展基本信息

名称 pg_docs_bot pg_docs_bot
ID hkbfkapgdfedgidpfbhlogecohcnaeod
官方URL https://chromewebstore.google.com/detail/pgdocsbot/hkbfkapgdfedgidpfbhlogecohcnaeod
简介 Redirects PostgreSQL docs links to the current version (except when coming from the docs, or to deprecated features).
文件大小 8.48 KB
安装次数 36
当前版本 1.0.2
更新时间 2023-08-11
上架时间 2020-05-10
评分 5.00/5 共1次评分
开发者 michristofides
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/mchristofides/pg_docs_bot/
帮助页面URL https://github.com/mchristofides/pg_docs_bot/issues/
支持的语言 en-GB
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"
        ]
    }
}