InlineDisposition Reloaded 的评价
InlineDisposition Reloaded 作者: Pasha_ZZZ
Rulatir 的评价
评分 1 / 5
来自 Rulatir,7 年前Does not work for me at all.
EDIT to respond to author's reply: I think I debugged it! In my particular case the server sends a weird header:
Content-Disposition: inline; filename=example.jpg
Firefox interprets it as attachment disposition. Your extension should probably handle this case too.
EDIT to respond to author's reply: I think I debugged it! In my particular case the server sends a weird header:
Content-Disposition: inline; filename=example.jpg
Firefox interprets it as attachment disposition. Your extension should probably handle this case too.
开发者回应
发布于 7 年前In Firefox with WebExtensions works fine. Old FF like ESR - version 1.0 only.
Sample:
http://english-e-reader.net/book/two-worlds-antoinette-moses
Download book as TXT. When extension disabled (file download):
Content-Disposition: attachment; filename="Two_Worlds-Antoinette_Moses.txt"
When extension enabled (opened directly in browser):
Content-Disposition: inline; filename="Two_Worlds-Antoinette_Moses.txt"
Sample:
http://english-e-reader.net/book/two-worlds-antoinette-moses
Download book as TXT. When extension disabled (file download):
Content-Disposition: attachment; filename="Two_Worlds-Antoinette_Moses.txt"
When extension enabled (opened directly in browser):
Content-Disposition: inline; filename="Two_Worlds-Antoinette_Moses.txt"