Improve pixiv thumbnails

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

当前为 2020-10-10 提交的版本,查看 最新版本

作者
kepstin
评分
0 0 0
版本
20201010.3
创建于
2019-09-13
更新于
2020-10-10
大小
11.9 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.