You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
王良 ef954aaa84
Update README.md:缺少一个逗号
8 months ago
github Update monkey.js 8 months ago
.gitignore 提交 /github/monkey.js 8 months ago
README.md Update README.md:缺少一个逗号 8 months ago

README.md

dev-sidecar 脚本分支

当前分支用于提供最新版本的一些实用脚本,供大家使用。

请使用 DevSidecar-1.8.1 的新特性 #294,来引用最新版本的脚本。

各脚本使用(配置)方法:

/github/monkey.js: Github油猴脚本-拦截配置

{
  "github.com": {
    "^(/[^/]+){2}([/?].*)?$": {
      "script": [
        "/ds_github_monkey_script.js"
      ],
      "desc": "加载DS仓库中的Github油猴脚本加速clone和文件下载等。"
    },
    "^/ds_github_monkey_script.js$": {
      "proxy": "https://raw.githubusercontent.com/docmirror/dev-sidecar/scripts/github/monkey.js",
      "response": { "headers": { "content-type": "application/javascript; charset=utf-8" } },
      "cacheDays": 7,
      "desc": "代理到DS仓库中的Github油猴脚本并设置响应头 `content-type: 'application/javascript; charset=utf-8'`同时缓存7天。"
    }
  }
}