Greasy Fork

Greasy Fork is available in English.

Pixiv illustration full size link converter

Displaying and linking to the original picture on the thumbnail container, instead of a container layout. Especially a goodie for people who were benefitted with similar function provided by Pixiv++ (and maybe now, but if they want to use this as lightweight on another place).

目前为 2015-02-09 提交的版本,查看 最新版本

作者
hkgsherlock
评分
0 0 0
版本
201502100051+8
创建于
2014-08-01
更新于
2015-02-09
大小
7.1 KB
许可证
Public Domain for source code only.
适用于

History

  • v201502100051+8
    • Add functionality to replace the link target of the "Display full size" button on the left of each image in manga page to link the original image.
  • v201502100021+8
    • Fixed the bug that will going to replace image if that page is a multi-page manga medium page.
      • Fixed the bug that might selects a .user-icon IMG DOM while finding the first image on pageGrabDOM().
  • v201502050342+8
    • Fixed issue fetching a 1200px thumbnail link, which is quite shameful.
    • Completely changed implementations into object-oriented one.
    • Extending support to manga works (both 1-paged like a illustration, and multi-page manga, inside '?mode=manga' page)
      • Changed RegEx include rule of user script to make '?mode=manga' being included.
      • Re-using XMLHttpRequest due to procedures for manga pages. Note: The GM_xmlhttpRequest does not work on Firefox 35.0, still using XMLHttpRequest as fetching pages are inside same domain.
        Will change to any other functional, safer ways if found in the future.
      • Changed limit image max display size CSS to be appended in <head> tag of document.
  • v201412152046
    • Layout of Pixiv changed again on 15th Dec. Some selector strings and criteria to select is thus changed.
  • v201412121050
    • Not fetching the size of thumbnail anymore as the thumb will be given not as wish.
    • Use CSS attributes to limit the max-width & max-height up to 600px instead.
  • v201412111844
    • Changed the whole way to solution, as a result of the site layout replacement taken place at 11 Dec 2014.
  • v201409250720
    • Changed method to fetch URL of original image due to change of HTML code structures of pixiv webpages.
    • Using AJAX to fetch the inner page asynchronously
  • v201409171240
    • fixing if username contains "_m"
  • v201408020400
    • First releasing this script. (Actually forgotten)