Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5ch.netへの対応 #399

Closed
eru opened this issue Oct 2, 2017 · 2 comments
Closed

5ch.netへの対応 #399

eru opened this issue Oct 2, 2017 · 2 comments

Comments

@eru
Copy link
Member

eru commented Oct 2, 2017

現状リダイレクト?されてるため見られるが、今後いつまで続くか分からないので、2ch.net -> 5ch.net と置換もしくは、(2|5)ch.netのようにして対応する必要がある。

また、2ch -> 5ch への移行のサポートなどもあったほうが良さそう。

  • ブックマークのURL書き換え
  • 2ch.net のキャッシュ削除
  • 書込/閲覧履歴の置換
  • 2ch.netを内部的には5ch.netとして処理する?
@S--Minecraft
Copy link
Member

S--Minecraft commented Oct 2, 2017

リダイレクト?があるまではURL.tsfix()に以下を挿入することで一応見れる
.replace(/^(https?):\/\/(\w+)\.5ch\.net\//, "$1://$2.2ch.net/")

5ch.netで2ch.netの過去のものって見れるんです?

見れるなら全部5ch.netのほうに統一して2ch.netのものを5ch.netにfix()で置き換えれば問題ないかなーと

@eru
Copy link
Member Author

eru commented Oct 2, 2017

5ch.netで少なくとも観測範囲では、普通に過去ログも見れますね。
本当に単純にドメイン名が変わっただけのように見えます。

S--Minecraft added a commit to S--Minecraft/read.crx-2 that referenced this issue Oct 2, 2017
S--Minecraft added a commit to S--Minecraft/read.crx-2 that referenced this issue Oct 2, 2017
S--Minecraft added a commit to S--Minecraft/read.crx-2 that referenced this issue Oct 2, 2017
S--Minecraft added a commit that referenced this issue Oct 2, 2017
Update: 5ch.netへの対応 close #399
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants