kepstin / Improve pixiv thumbnails

Published:

Version: 20230328.1+9430b53 updated

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

License: MIT; https://spdx.org/licenses/MIT.html

Info for this script is not automatically updated and may be out of date. Please check out the latest README on Github.

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 your userscript manager's value storage. (Preivously 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.

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.

Rating: 0