Improve pixiv thumbnails

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
kepstin
日安装量
1
总安装量
1,972
评分
17 0 0
版本
20240918.2
创建于
2019-09-13
更新于
2024-09-18
大小
14.2 KB
许可证
MIT
适用于

Improve pixiv thumbnails

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

Please note: this script will increase data usage on mobile devices.

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

Example

曙と雨 by ナユヒ

曙と雨 by ナユヒ

Preferences

User preferences can be configured by setting items in your userscript manager's value storage. (Previously these settings were configured in LocalStorage - they will automatically be migrated).

Before you can edit the settings, you should open www.pixiv.net at least once with this script active to initialize the defaults.

The method for editing the settings varies depending on which userscript manager you are using.

  • TamperMonkey: Open the extension Dashboard then go to the "Installed userscripts" tab and click on the script name. Select the "Storage" tab. If the storage tab doesn't show up, you might need to click the top "Settings" tab and set "Config mode" to "Advanced".
  • ViolentMonkey: Open the extension Dashboard, and click the Edit button (</>) under the script name. Select the "Values" tab at the top of the screen.
  • GreaseMonkey 4: User preferences are not currently supported. You can edit the script to set the configuration variables.

Allow custom thumbnails

Preference name: allowCustom

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: overrideDomain

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.