Как вытащить шрифт с сайта? Нужно декодирование строки

  • Автор темы Автор темы alexein66
  • Дата начала Дата начала

alexein66

Мастер конкатенации
Разрушитель (V)
Сообщения
252
Реакции
128
Баллы
3 923
Собственно, пациент откуда нужно вытащить шрифт
Скрытое содержимое. Вам нужно войти или зарегистрироваться.
Покопавшись в скриптах понял, что шрифт подключается блоком и кодируется в атрибуте data-font="" прямо в HTML коде
скрипт

JavaScript:
document.head.appendChild(t), t.sheet.insertRule("body {--page-bg-color: " + c.getAttribute("data-color") + ";--page-text-color: #1d1d1d; --scrollbar-color: " + c.getAttribute("data-color") + ";}", 0), t.sheet.insertRule(".c-product__editable, .c-product__glyphs-items {font-family: 'Custom';}", 1), t.sheet.insertRule("#snipcart {--color-default: " + c.getAttribute("data-color") + ";--color-secondary: #1d1d1d;}", 2), t.sheet.insertRule("@font-face {font-family: Custom;font-display: swap;font-style: normal;font-weight: 400;src: url(" + c.getAttribute("data-font") + ") format('woff2');}", 3), t.sheet.insertRule(".c-navbar__menu {color: " + c.getAttribute("data-color") + ";}", 4);



Код:
data-font="data:application/octet-stream;base64,d09GMgABAAAAABqEAA0AAAAAYXAAABoqAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoEyG4V6HIM4BmAAhnoKgZEc70sLhEIAATYCJAOJAAQgBYQkB4pNG3NNBdwxcB6EoMh+ZqOoD4rUKaMo16M6+79O3hBVP9LATraXEMzAuEtyOGNZ4mJDhRBULIhYCMsPyGb5mZ+aK2yDhQ8mH1iF7Qh2r5XBKVu+Qeb3m5R3VR9laEIlGh+hsWtyIf5bK6t+98zC3QWAFZBEskAg5E4AhQJ8PjIuPrEA6FHd7s/zc/tz33vb3sbYW0GLg1Gh0AO3CTNy+4wq4TuwZ4JDfXcmYDX4vxiFHWAl/ApwVj9/Bc//f7fyPZg/7L4LM1WqFE0qsW4kLkhEnQZOOjjbIXGps0WdopklYk5O4B/4e7Nz30zERzBYrVGlrrGqgzENWIhL3aXF+gfnNKf0YEztqWNqR2f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vWHYEYVPms6QeqiBCH/k+R3wlyGJlD1VTXoOO9dEMv98/xdjh44wyUwtSkMe4WIQQJ+PT7RFumqRibY8sEhpqfmYXVGQhE5SVwt3jf15gFY5ZMitUsN9o2Fp2xKk0zVMRLDSc2y5quTkAYxdWWJVQcQ1U40nkxbukGM/nvhAuAZJJPg4dc+OBkZi84P2SVEKH+x8NGYV4lsCTc2DhuuRPN3cQ2iRCZG1Gik3LPfQ905m4fYmKITU5cCpWqeKyf/qn10BObeF2+UO2rvPRmtcOOSPBOoqR89NWP5Px56t9Gk1KAfUn1tW/U+DaNgQapJY2uYEMMNYx0Gd4UzvkiGFAkz4sy2hhMxiUwwUTjc9mPySZpNchgvQEnDckjYih7XqaZno+p+U1imOEFGWGkGWapNbOQqaYxqqjpjC6OuYR6DTxh8UlpM2apk222enM4yimyzVxHWb2XIzfJvAXyKvLMfxrlV7JMgXkwJ7Yxx51wkkJFTTntjLMUK/E2K+fKobQFXpTnkst0uExFzYMnL958+PLjT4HRR4D9KDsE2e6qJdwpGcgdc1wmN1J6RiecJCChJbZUk2UWKCeyiAznDE2FrrLCz7Is99D3HvlJtx/8qIerYtfdcLPM7FGxibnMcVRRGeUyJ+uM4jYU9yKVUSjuVRnSoeQM9Uv7mD4F3pgsxUncZunFOeNE093N8rA1XOl4c6lpYKiN3XwQqcuFkc5YQ8dwXFLznHMwec3JoTFpPpSH660uY5egEZubErbhLO+as71TsHpg/6Cetx7mA5vKmCvSvKAAY0z0LLzRWRIu1Q4OLH1RV/0HUe/at7SviX9SgzIg/riaEddYScKVwyRcfUxr/2p20nBy+hvz2DCv+JhTnGikUVCdxLlNYI0R9/A87gjXdJvHUzEZOQZFgYlAogsKdKg4RbNABTUMTH8J6jTUOVMb2lBGoFqbrG2oDWqTs4PZgSPhCGxqRvH0WwnxyXYxVfgFscaFn7WYinsIm42YPgkAAAA="
 
есть плагин для chrome fonts.ninja , он инспектирует элементы страницы курсором и показывает где какой шрифт используется.
 
Назад
Верх