Greasy Fork is available in English.

PostLoadIMG - Kinoplay.me

12/04/2020, 4:12:32 AM

Автор
Victor Data
Установок в день
0
Всего установок
8
Оценки
0 0 0
Версия
1.0
Создан
Обновлён
Лицензия
Недоступно
Работает на
  • kinoplay.me
A simple solution that I use on the kinoplay.me website to upload images after the page loads.

Add a link to the image in the data-src attribute in the tag
And in the src = "" attribute, add a link to the stub, this script will download posters after the page is fully loaded, this will look good for users since the page performs a full load much faster


Tag example:
img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="https://kinoplay.me/uploads/posts/2020-04/1586098822_300x450.jpeg"/>