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

板にユーザーエージェント設定を追加する #872

Closed
ma8ma opened this issue Dec 5, 2021 · 0 comments · Fixed by #874
Closed

板にユーザーエージェント設定を追加する #872

ma8ma opened this issue Dec 5, 2021 · 0 comments · Fixed by #874
Labels
feature 機能の追加と削除

Comments

@ma8ma
Copy link
Collaborator

ma8ma commented Dec 5, 2021

背景や動機

板によって書き込み可能なユーザーエージェント(UA)が異なると掲示板に報告がありました。
書き込むために全体設定(about:config)でUAを切り替える必要があり手間と再起動が課題になっています。

https://next2ch.net/test/read.cgi/linux/1613035222/539 より

AのUAだとhayabusa板に書き込めるけどmeviusには書き込めない
BのUAだと逆
みたいなことがよくあって高度な設定をいじって再起動

解決方法

板のプロパティにUAを変更する設定を追加してアクセスするときに使うUAを使い分けられるようにします。

ユーザーインターフェース

  • 板のプロパティの"プロキシ設定"タブを"ネットワーク設定"に名称変更します。
  • ネットワーク設定にUAを設定する入力欄を追加します。
    入力したUAはダイアログのOKボタンを押すと更新されます。

設定のルール

  • 空欄または不適切な文字(non-ASCII)があるときOKボタンを押すと設定を消去します。
  • 入力可能な長さを制限して200文字を超えるUAは設定できないようにします。

通信

  • プロパティで設定したUAは対象の板にアクセスするとき使われます。

代替案

プロキシを使ってUAを使い分ける

https://next2ch.net/test/read.cgi/linux/1613035222/544
利用するUAの分プロキシの起動または設定が必要になります。

追加の情報

インターフェースのイメージ

Screenshot from 2021-12-05 20-48-58

@ma8ma ma8ma added the feature 機能の追加と削除 label Dec 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 機能の追加と削除
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant