Greasy Fork is available in English.

PTT Imgur Fix

修正 Imgur 在 PTT 上的問題

Ekde 2018/04/13. Vidu La ĝisdata versio.

Aŭtoro
eight
Ratings
0 0 0
Versio
0.4.2
Kreita
2017/03/18
Ĝisdatigita
2018/04/13
Size
7,03 kb
Compatibility
Compatible with Firefox Compatible with Chrome
Licenco
MIT
Aplikiĝas al

PTT Imgur Fix

一個用於 PTT Web 版的 userscript。

在 2017/3/17 後,由於 imgur 封鎖來自 ptt.cc 的 referer,站方改用 imgur 所提供的 embed.js 做圖片嵌入。但是嵌入後的圖片是縮圖,對於 PC 使用者反而不如原始嵌入來得方便。

參考︰

Features

Install

https://greasyfork.org/scripts/28264-ptt-imgur-fix

Compat notes

Changelog

  • 0.4.2 (Apr 13, 2018)
    • Add: youtube player parameters option.
  • 0.4.1 (Nov 26, 2017)
    • Use no-referrer for normal images. Some sites (e.g. gamer.com.tw) restricted referrer from ptt.
  • 0.4.0 (Sep 20, 2017)
    • Add embed imgur album option.
  • 0.3.1 (Jun 22, 2017)
    • Add embed image option.
  • 0.3.0 (Apr 1, 2017)
    • Fix: sometimes richcontent is not inserted in push content.
    • Fix: twitter pattern.
    • Fix: m.imgur.com is not matched.
    • Refactor, the original richcontent is always removed.
    • Add embedYoutube option.
    • 加入精華區 URL.
  • 0.2.1 (Mar 30, 2017)
    • Remove unused code.
  • 0.2.0 (Mar 30, 2017)
    • "gallery" is not a valid imgur id.
    • Add twitter image, expand to ...:orig.
    • Remove original .richcontent element.
  • 0.1.1 (Mar 19, 2017)
    • Compat with chrome.
  • 0.1.0 (Mar 19, 2017)
    • First release.