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

ImageViewURLReplace.dat によって元のリンク先へ飛ぶことができなくなる #65

Closed
nodaguti opened this issue Apr 22, 2014 · 3 comments

Comments

@nodaguti
Copy link
Contributor

画像への直リンクとなっていない画像を見ることが主なユースケースだと思っていたが、以下のような需要もあるようなので、実装方法を再検討する必要がある。

http://anago.2ch.net/test/read.cgi/software/1360751657/619

619 名無しさん@お腹いっぱい。 2014/04/06(日) 15:39:39.80 ID:u7dIcHyH0 (2/2)
>>617
エロ動画へのリンクをサムネイルで見たいのです。
それだと
#   リンク先を直接書き換えるため、ImageViewURLReplace.dat により置き換えられたリンクは
#   リンク文字列の URL と一致しない状態になります。

となり、サムネイルへのリンクになってしまいます。
リンクは変更せずに展開?したいのです。 
@nodaguti nodaguti added this to the 2.0.0 milestone May 14, 2014
@nodaguti
Copy link
Contributor Author

1b59988chaika://ivur/http://example.com/pageurl?dummy_ext=.jpg と書き換えることにより、ローカルプロキシではなく chaika プロトコルを使うことでアクセスをリダイレクトさせるようにした。

しかし、

  • スキンでのポップアップによるアクセス
  • スキンからリンクをクリックしたことによるアクセス

のどちらなのか判断する方法がわからず、本要望を実現する手段が思いつかない。

現状としては、URLから chaika://ivur/?dummy_ext=.jpg を手動で取り除くことで得るしかない(いままではリンク先を画像URLに直接置き換えていたのでそうしたことはできなかった)

@nodaguti nodaguti changed the title ImageViewURLReplace.dat の処理で直接リンク先を書き換えるのを止める ImageViewURLReplace.dat によって元のリンク先へ飛ぶことができなくなる Aug 20, 2014
@nodaguti nodaguti added the bug label Aug 20, 2014
@nodaguti
Copy link
Contributor Author

Doorhanger notification によって、chaika://ivur/〜のURLが読み込まれた時に、
もとのURLへアクセスするかどうかユーザーに尋ねればよさそう

参考

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

1 participant