{"id":15408921,"url":"https://github.com/sec-ant/doufree","last_synced_at":"2025-04-19T04:15:13.941Z","repository":{"id":136826815,"uuid":"492209590","full_name":"Sec-ant/doufree","owner":"Sec-ant","description":"Free you from DouBan restrictions","archived":false,"fork":false,"pushed_at":"2025-03-03T15:20:18.000Z","size":454,"stargazers_count":9,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-16T03:55:39.754Z","etag":null,"topics":["douban","local-reshare"],"latest_commit_sha":null,"homepage":"https://greasyfork.org/zh-CN/scripts/444959-doufree","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sec-ant.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-14T12:26:50.000Z","updated_at":"2024-12-02T16:43:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4a24b31-5209-4362-b661-29a05f44e936","html_url":"https://github.com/Sec-ant/doufree","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sec-ant%2Fdoufree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sec-ant%2Fdoufree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sec-ant%2Fdoufree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sec-ant%2Fdoufree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sec-ant","download_url":"https://codeload.github.com/Sec-ant/doufree/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249604133,"owners_count":21298426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["douban","local-reshare"],"created_at":"2024-10-01T16:35:59.061Z","updated_at":"2025-04-19T04:15:13.924Z","avatar_url":"https://github.com/Sec-ant.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DouFree\n\nDouFree 是一个运行在桌面浏览器上的[用户脚本（Userscript）](https://zh.wikipedia.org/zh-cn/Userscript)，它作用于[豆瓣网页端](https://www.douban.com/)，用于解除部分豆瓣限制。\n\n## 安装\n\n1. 请使用可以安装扩展的现代浏览器（推荐 [Microsoft Edge](https://www.microsoft.com/zh-cn/edge)、[Google Chrome](https://www.google.com/intl/zh-CN/chrome/) 和 [Mozilla Firefox](https://www.mozilla.org/zh-CN/firefox/new/)），安装并启用 [Tampermonkey](https://www.tampermonkey.net/) 扩展；\n\n2. 打开 [DouFree 脚本的 Greasy Fork 页面](https://greasyfork.org/zh-CN/scripts/444959-doufree)安装即可；\n\n3. 如果脚本被 Greasy Fork 撤下，你也可以在 jsDelivr CDN 上找到该脚本：https://fastly.jsdelivr.net/npm/doufree/dist/doufree.user.js\n\n## 功能\n\n### 恢复豆瓣广播多级转发功能\n\n豆瓣后端并未限制多级转发，仅在前端做了移除，本脚本可以恢复前端多级转发功能。这个脚本会在豆瓣默认的转发按钮旁边新增一个「本级转发」按钮。该按钮目前可以出现在首页时间线和用户的广播页面。\n\n![](https://img2.doubanio.com/view/note/l/public/p89127461.jpg)\n\n### 移除豆瓣短链接跳转\n\n在豆瓣的广播页面，广播和回复中的网址会被自动转换为豆瓣短链接——以 [https://douc.cc/](https://douc.cc/) 开头，由此豆瓣可以统计某一链接的访问数据，或限制用户对某些链接的访问。这个脚本移除了豆瓣短链接跳转，广播和回复中的短链接均被替换为原始链接。\n\n![](https://img2.doubanio.com/view/note/l/public/p89127561.jpg)\n\n短链接移除前\n\n![](https://img1.doubanio.com/view/note/l/public/p89127580.jpg)\n\n短链接移除后\n\n### 阻止访问小组讨论页面时自动跳转豆瓣首页\n\n在浏览器地址栏直接输入/粘贴或以其它方式从豆瓣网站外部访问某些豆瓣小组的讨论链接，在页面加载完毕后，会自动跳回豆瓣首页。本脚本阻止了自动跳转这一行为。\n\n更新：\n\n由于这个问题目前似乎已经被豆瓣修复，如果再次发现此问题可汇报 issue。\n\n关于该问题的相关记录：\n\n- https://www.douban.com/note/830739518/\n- https://www.douban.com/group/topic/256167836/\n- https://v2ex.com/t/825797\n- https://guozh.net/douban-redirect-to-home/\n\n### 敏感词检测（暂时移除该功能）\n\n~~由于词库陈旧外加一些代码 bug，暂时移除该功能。~~\n\n### 豆列收藏链接直达\n\n豆瓣网页端点击广播时间线上的收藏链接会跳转到该收藏链接所在的豆列，而非链接所指向的内容本身。本脚本可以让用户点击收藏链接后直接访问该内容。\n\n### 去除 `_i` URL 尾缀\n\n豆瓣会在某些页面打开后（如小组帖子、日记等页面），在网址后方自动添加一个形如 `_i=3827211uOm9fTX` 的尾缀（这个字符串由时间戳 + 浏览器 id 组成）。本脚本可阻止豆瓣这一行为。\n\n### 更多功能和需求等待提议和开发……\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsec-ant%2Fdoufree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsec-ant%2Fdoufree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsec-ant%2Fdoufree/lists"}