Skip to content

Instantly share code, notes, and snippets.

Настройки для скриптов для сайта shikimori.me

Описание

Позволяет добавлять любому скрипту, написанного для сайта shikimori.me, настройки. Находиться они будут в настройках профиля:

Settings

Как использовать

1. В скрипте, в блоке UserScript, необходимо вставить @require с ссылкой на этот скрипт:

@micycle1
micycle1 / a.md
Last active May 28, 2024 03:55
Downloading full-size media from DeviantArt

For direct image URL, the image quality is much lower than the original upload (the resolution and size of the original upload can be found in the right sidebar). This is not the case few years ago when the original image was accessible through right click, but on 2017, Wix acquired DeviantArt, and has been migrating the images to their own image hosting system from the original DeviantArt system. They linked most of the direct images to a stripped-down version of the original images; hence the bad image quality. Below are the three different formats of direct image URLs I found:

  • URL with /v1/fill inside: this means that the image went through Wix's encoding system and is modified to a specific size and quality. In this case, you remove ?token= and its values, add /intermediary in front of /f/ in the URL, and change the image settings right after /v1/fill/ to w_5100,h_5100,bl,q_100. The definitions of the values can be found in [Wix's Image Service](https://support.wi
@ww9
ww9 / gist_markdown_examples.md
Last active May 24, 2024 05:30
Gist markdown examples

Gist markdown examples

A collection of Markdown code and tricks that were tested to work in Gist.

This and all public gists in https://gist.github.com/ww9 are Public Domain. Do whatever you want with it including , no need to credit me.

Todo

  • Reformat this whole document and assimilate these: