Improve pixiv thumbnails

Stop pixiv from cropping thumbnails to a square. Use higher resolution thumbnails on Retina displays.

目前為 2020-10-10 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
kepstin
評價
0 0 0
版本
20201010.2
建立日期
2019-09-13
更新日期
2020-10-10
尺寸
12.0 KB
授權條款
MIT
腳本執行於

Improve pixiv thumbnails

Stop pixiv from cropping thumbnails to a square. Use higher resolution thumbnails on Retina displays.

I understand English and simple Japanese, please help translate :)

Example

曙と雨 by ナユヒ

曙と雨 by ナユヒ

Preferences

User preferences can be configured by setting items in the web browser's LocalStorage. To set preferences, go to www.pixiv.net and open the Web Inspector (usually Ctrl-Shift-I). Type in one of these statements in the Javascript console at the bottom:

To add a preference:

localStorage.setItem('Preference name', 'value')

To remove a preference:

localStorage.removeItem('Preference name')

Allow custom thumbnails

Preference name: kepstinAllowCustom

Pixiv allows artists to set custom square crops for thumbnails when they upload the image. If you would like to use custom cropped thumbnails, set the value to true

Override image CDN domain

Preference name: kepstinOverrideDomain

By default, images will be loaded from the domain name provided by pixiv. However, you can choose a different CDN to use by setting the value of this preference to a different domain name. This may improve image load speeds overseas. See the list of domain names for more information.