Pixiv Direct Links

Turns thumbnail titles into direct or mode=manga links, adds direct image links on mode=manga pages, replaces the medium thumbnail on mode=medium pages with the full size, and disables lazy-loading images.

От 27.06.2015. Виж последната версия.

Автор
Mango 2
Рейтинг
0 0 0
Версия
2015.06.27
Създаден
27.08.2014
Обновен
27.06.2015
Размер
8 КБ
Лиценз
Няма
Работи на

The titles of most thumbnails are turned into either direct links to the images or (if a manga sequence) the mode=manga page. Novels are not affected, and the titles of ugoira animations and pseudo-manga images (which have the thumbnail indicator of a manga sequence but aren't really) just link to the mode=medium page (as do all other titles until the direct links are determined). This requires a separate query for each thumbnail, so it is disabled by default.

On mode=manga pages, a 'direct link' is added below each page.

On mode=medium pages of non-manga, non-animated images, the main medium thumbnail is replaced with the full image (linked to that same image).

Pixiv's lazy loading on pages such as rankings and mode=manga is disabled, forcing all images on the page to load at once.

Features can be toggled by editing the top of the script.

Inspired by Pixiv Fullsize Links, which was abandoned in 2012 in favor of Pixiv++.


2015-06-27:

  • Added manga page counts back to the title links.

2015-05-17:

  • Removed use of the "SPAPI" pixiv API, which pixiv no longer supports. At least for now, only the HTML parser is used for linking titles and swapping image sizes. Title linking is now disabled by default.

2015-03-25:

  • Fixed private images breaking the title links function.
  • If fullSizeMedium is false, still link the thumbnail to the full size image.

2014-12-16:

  • Turns out Pixiv wasn't done changing things. Fixed the full-size option again.

2014-12-14:

  • Turns out not all non-manga images made the change accounted for in the last update. Fixed the full-size option again.

2014-12-13:

  • Direct link titles now work for recent images even if GM_xmlhttpRequest isn't available (but still disabled by default).
  • Fixed full-size display on mode=medium pages.

2014-10-02:

  • Fixed script again to work with new HTML and thumbnails. Old-style direct URLs no longer work for new images.
  • Fixed large full size images not displaying properly on mode=medium pages.
  • The title for the "this image is a response to" thumbnail is now linked.

2014-09-28:

  • Fixed script to work with the new style of thumbnail. However, GM_xmlhttpRequest is required to get the direct link titles for them (older images are still fine). Forcing mode=medium pages to display/link the full size does not require GM_xmlhttpRequest, but GM_xmlhttpRequest is needed to get the old-style fullsize link instead of the new "/img-original/" link.
  • Titles of thumbnails on the ranking pages are now supported.
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元