Greasy Fork is available in English.

Direct Link

Replace the redirect links with direct links

< Обсуждения Direct Link

Отзыв: Хороший — скрипт работает как нужно

Hi. Could you please help me understand why you have a base64 image in the script. Thanks.

cilxeАвтор
§
Создано: 25.05.2023

Hello, the reason for using a base64 image for the script icon is very simple.

To reduce http requests and for poor networking, however, this choice has only a slight effects, you can change it if you want.

The difference between base64 image and remote image url when using as the script icon

  • base64 image: data:image/png;base64_________________
    • image files embedded inside textual assets, the script reads the image from the assets every time it loads.
  • image from remote server: https://duckduckgo.com/favicon.ico
    • the image stored in the remote server, which needs the script take a http request for the server on it every loads

Thanks for the reply and information. That's a great idea.

Ответить

Войдите, чтобы ответить.