https://github.com/dartraiden/habrcacheenhanced
Перенаправляет удалённые или скрытые в черновики записи с habr.com на ITnan, СоХабр, SavePearlHarbor и кэш Google.
https://github.com/dartraiden/habrcacheenhanced
habr habrahabr javascript js userscript
Last synced: 3 months ago
JSON representation
Перенаправляет удалённые или скрытые в черновики записи с habr.com на ITnan, СоХабр, SavePearlHarbor и кэш Google.
- Host: GitHub
- URL: https://github.com/dartraiden/habrcacheenhanced
- Owner: dartraiden
- Created: 2015-05-18T15:10:26.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-01-24T22:39:14.000Z (5 months ago)
- Last Synced: 2025-02-28T12:06:17.238Z (4 months ago)
- Topics: habr, habrahabr, javascript, js, userscript
- Language: JavaScript
- Homepage: https://greasyfork.org/scripts/10399-habrcacheenchanced
- Size: 25.4 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Russian
Перенаправляет удалённые или скрытые в черновики записи с habr.com на зеркала Хабра.Основан на скрипте [HabrCache](https://userscripts-mirror.org/scripts/show/136481) от [dotneter](https://userscripts-mirror.org/users/138395.html). Код для работы с СоХабром любезно предоставлен [CaptainFlint](https://habr.com/users/CaptainFlint/).
Распознаёт «Страница не найдена» в блогах компаний (где страницы недоступных записей отличаются от обычных, поэтому старый скрипт не срабатывал) и главные страницы удалённых блогов.
Ниже располагаются примеры для проверки работы.
* [запись, скрытая в черновики](https://habr.com/post/423433/)
* [запись, удалённая из блога компании](https://habr.com/company/muk/blog/255299/)# English
Redirects deleted or hidden posts from habr.com to Habr mirrors.Based on the [HabrCache](https://userscripts-mirror.org/scripts/show/136481) userscript by [dotneter](https://userscripts-mirror.org/users/138395.html). The code for working with SoHabr is kindly provided by [CaptainFlint](https://habr.com/users/CaptainFlint/).
Recognizes «Page not found» in company blogs (where pages of inaccessible posts differ from regular ones, so the old script didn't work) and the main pages of deleted blogs.
Examples can be found below.
* [marked as a draft](https://habr.com/post/423433/)
* [deleted from company blog](https://habr.com/company/muk/blog/255299/)