Greasy Fork is available in English.

PTT Imgur Fix

修正 Imgur 在 PTT 上的問題

Version au 13/04/2018. Voir la dernière version.

Auteur
eight
Notes
0 0 0
Version
0.4.2
Créé
18/03/2017
Mis à jour
13/04/2018
Taille
7,03 ko
Compatibilité
Compatible avec Firefox Compatible avec Chrome
Licence
MIT
S'applique à

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.