Help
RSS
API
Feed
Maltego
Contact
Domain > docs.thestage.ai
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2025-03-06
18.160.181.2
(
ClassC
)
2026-03-03
3.169.173.93
(
ClassC
)
Port 80
HTTP/1.1 301 Moved PermanentlyServer: CloudFrontDate: Tue, 03 Mar 2026 21:02:19 GMTContent-Type: text/htmlContent-Length: 167Connection: keep-aliveLocation: https://docs.thestage.ai/X-Cache: Redirect from cloudfrontVia: 1.1 743dabf2fdbfd64c0bd7adf3cea9dbec.cloudfront.net (CloudFront)X-Amz-Cf-Pop: HIO52-P4X-Amz-Cf-Id: rWFK2DOc8JXPhaeZwI0VNiRIr_djSqCk6x7UGQcUNgH72ERb4XNLdwVary: Origin html>head>title>301 Moved Permanently/title>/head>body>center>h1>301 Moved Permanently/h1>/center>hr>center>CloudFront/center>/body>/html>
Port 443
HTTP/1.1 200 OKContent-Type: text/html; charsetutf-8Content-Length: 25287Connection: keep-aliveServer: APISIX/3.6.0Date: Tue, 03 Mar 2026 21:02:19 GMTLast-Modified: Fri, 13 Feb 2026 07:58:53 GMTETag: 698ed9bd-62c7Accept-Ranges: bytesX-Cache: Miss from cloudfrontVia: 1.1 3caf9df4ca497afd40efb87f8957a7fa.cloudfront.net (CloudFront)X-Amz-Cf-Pop: HIO52-P4X-Amz-Cf-Id: vg04sBPyC4AnVwo7KK6LcBmdH0t4VV7wvznECw87aNyayZ-j1cGRVgVary: Origin !DOCTYPE html>html > head> meta charsetutf-8> meta nameviewport contentwidthdevice-width,initial-scale1>meta namegenerator contentDocutils 0.17.1: http://docutils.sourceforge.net/ /> title>Welcome to TheStage AI documentation!/title> link relstylesheet href_static/pygments.css typetext/css /> link relstylesheet href_static/theme.css typetext/css /> link relstylesheet href_static/css/github-light.css typetext/css /> link relstylesheet href_static/css/custom.css typetext/css /> !-- sphinx script_files --> script data-url_root./ iddocumentation_options src_static/documentation_options.js>/script> script src_static/jquery.js>/script> script src_static/underscore.js>/script> script src_static/doctools.js>/script> script src_static/js/copy-button.js>/script> script src_static/js/image-utils.js>/script> script src_static/js/smooth-navigation.js>/script> script src_static/js/custom.js>/script> !-- bundled in js (rollup iife) --> !-- script src_static/theme-vendors.js>/script> --> script src_static/theme.js defer>/script> link relshortcut icon href_static/favicon.svg/> link relindex titleIndex hrefgenindex.html /> link relsearch titleSearch hrefsearch.html /> link relnext titleTheStage AI Platform: SSH Keys and API Tokens hrefplatform/src/thestage-ai-ssh-keys-and-api-tokens.html /> !-- Open Graph --> meta propertyog:title contentTheStage AI Docs – Faster, Cheaper AI Inference> meta propertyog:description contentAccelerate models on NVIDIA & edge. Full setup, optimization & deployment guides. QLIP, Elastic Models, CLI, API. Built for AI teams & devs.> meta propertyog:type contentwebsite> meta propertyog:url contenthttps://docs.thestage.ai/> meta propertyog:image contenthttps://cdn.thestage.ai/production/og/og-image.png> meta propertyog:site_name contentTheStage AI> !-- Telegram and Twitter --> meta nametwitter:card contentsummary_large_image> meta nametwitter:title contentTheStage AI Docs – Faster, Cheaper AI Inference> meta nametwitter:description contentAccelerate models on NVIDIA & edge. Full setup, optimization & deployment guides. QLIP, Elastic Models, CLI, API. Built for AI teams & devs.> meta nametwitter:image contenthttps://cdn.thestage.ai/production/og/og-image.png> !-- Fallbacks --> meta namedescription contentAccelerate models on NVIDIA & edge. Full setup, optimization & deployment guides. QLIP, Elastic Models, CLI, API. Built for AI teams & devs.> meta nameauthor contentTheStage AI> /head> body> div idapp> div classtheme-container :classpageClasses>navbar @toggle-sidebartoggleSidebar> router-link to# classhome-link> span classsite-name>TheStage AI Docs/span> /router-link> div classlinks> navlinks classcan-hide> div classnav-item> a href#welcome-to-thestage-ai-documentation classnav-link > TheStage AI Platform /a> /div> div classnav-item> a href#welcome-to-thestage-ai-documentation classnav-link > Elastic Models /a> /div> div classnav-item> a href#welcome-to-thestage-ai-documentation classnav-link > Qlip /a> /div> div classnav-item> a href#welcome-to-thestage-ai-documentation classnav-link > Tutorials /a> /div> /navlinks> /div>/navbar> div classsidebar-mask @clicktoggleSidebar(false)> /div> sidebar @toggle-sidebartoggleSidebar> div classsidebar-sheet> div classsidebar-sheet__header> a classsidebar-logo hrefhttps://app.thestage.ai/docs aria-labelTheStage AI> svg classsidebar-logo__icon width126 height18 viewBox0 0 126 18 fillnone xmlnshttp://www.w3.org/2000/svg aria-hiddentrue focusablefalse> g clip-pathurl(#clip0_25828_1538)> path dM21.4378 4.78905V6.28383H24.3898V14.367H26.183V6.28383H29.5215V14.367H31.2318V10.5468C31.2318 9.32875 31.5627 8.49811 32.7214 8.49811C33.6181 8.49811 34.0041 9.05203 34.0041 10.0761V14.367H35.7007V9.81314C35.7007 7.81978 34.5835 7.08657 33.3281 7.08657C32.1558 7.08657 31.5627 7.64002 31.2313 8.16604V4.78857H21.4374L21.4378 4.78905Z fillcurrentColor/> path dM39.7995 7.0869C37.565 7.0869 36.4478 8.70609 36.4478 10.9071C36.4478 12.7619 37.4273 14.5334 39.717 14.5334C41.8553 14.5334 42.6274 13.1767 42.8895 12.2912H41.1651C40.9718 12.7482 40.6824 13.163 39.7716 13.163C38.7096 13.163 38.1717 12.2359 38.1717 11.1697H42.9583C42.9862 10.962 42.9862 10.796 42.9862 10.5604C42.9862 8.87166 42.1862 7.08643 39.7999 7.08643L39.7995 7.0869ZM38.2136 10.0765C38.3103 9.06607 38.7378 8.34612 39.7863 8.34612C40.8347 8.34612 41.2486 9.12142 41.2622 10.0765H38.2136Z fillcurrentColor/> path dM47.1234 4.65086C44.9026 4.65086 43.7302 5.79986 43.7302 7.37743C43.7302 8.69247 44.4199 9.57799 46.8891 10.1735C48.6272 10.5747 49.0826 10.99 49.0826 11.8206C49.0826 12.5959 48.572 13.1215 47.3445 13.1215C46.1169 13.1215 45.4273 12.6371 45.1925 11.613H43.3856C43.6062 13.2601 44.7928 14.4919 47.2068 14.4919C49.6209 14.4919 50.9173 13.2875 50.9173 11.613C50.9173 10.3117 50.3516 9.25964 47.6066 8.60921C46.0203 8.23552 45.5649 7.93088 45.5649 7.18349C45.5649 6.43609 46.1165 6.02077 47.0682 6.02077C48.3509 6.02077 48.7875 6.69059 48.8751 7.25255H50.6821C50.5439 5.90961 49.4027 4.65039 47.1234 4.65039V4.65086Z fillcurrentColor/> path dM53.7158 5.27344H52.0056V7.25309H50.6809V8.56812H52.0056V12.5544C52.0056 13.7724 52.4746 14.4645 53.7573 14.4645C54.1439 14.4645 54.6403 14.4508 54.999 14.3259V13.1215C54.8335 13.1495 54.6266 13.1495 54.4885 13.1495C53.8813 13.1495 53.7158 12.9002 53.7158 12.3051V8.56812H55.1645V7.25309H53.7158V5.27344Z fillcurrentColor/> path dM61.3562 9.49526C61.3562 7.83444 60.3493 7.10076 58.5009 7.08705C56.3904 7.07333 55.6593 8.13907 55.5626 9.30179H57.2041C57.3007 8.77578 57.4935 8.34673 58.4316 8.34673C59.4937 8.34673 59.6733 8.92809 59.6733 9.48154V9.96593H58.5975C56.5144 9.96593 55.2317 10.7133 55.2317 12.3188C55.2317 13.4125 55.9492 14.5335 57.6458 14.5335C58.9426 14.5335 59.4527 14.0213 59.7011 13.5922C59.7148 13.8552 59.7563 14.2152 59.8114 14.3675H61.4528C61.4114 14.1878 61.3562 13.288 61.3562 12.6234V9.49526ZM59.6874 11.2531C59.6874 12.3051 59.5083 13.2739 58.1011 13.2739C57.3426 13.2739 56.9561 12.8032 56.9561 12.2218C56.9561 11.4191 57.5076 11.0454 58.763 11.0454H59.687V11.2531H59.6874Z fillcurrentColor/> path dM67.1275 8.05569C67.0036 7.68199 66.4793 7.08691 65.2103 7.08691C63.4586 7.08691 62.1207 8.56798 62.1207 10.8239C62.1207 12.8031 63.238 14.2983 65.059 14.2983C66.1489 14.2983 66.7556 13.8967 67.128 13.2184V13.6337C67.128 15.1148 66.8381 15.9729 65.4451 15.9729C64.6451 15.9729 64.1897 15.6129 64.0243 15.0315H62.2862C62.3692 15.8896 62.9344 17.26 65.3763 17.26C67.8181 17.26 68.8109 15.8617 68.8109 13.5784V9.30119C68.8109 8.60914 68.8109 7.8064 68.8246 7.25248H67.1968C67.1832 7.37688 67.1417 7.81964 67.128 8.05521L67.1275 8.05569ZM65.5276 12.9C64.5621 12.9 63.8861 12.0694 63.8861 10.7548C63.8861 9.28747 64.5621 8.48473 65.5691 8.48473C66.9069 8.48473 67.1827 9.34281 67.1827 10.6858C67.1827 12.0287 66.824 12.9005 65.5276 12.9005V12.9Z fillcurrentColor/> path dM72.9215 7.0869C70.6871 7.0869 69.5698 8.70609 69.5698 10.9071C69.5698 12.7619 70.5494 14.5334 72.839 14.5334C74.9773 14.5334 75.7495 13.1767 76.0116 12.2912H74.2872C74.0939 12.7482 73.8045 13.163 72.8942 13.163C71.8321 13.163 71.2942 12.2359 71.2942 11.1697H76.0804C76.1082 10.962 76.1082 10.796 76.1082 10.5604C76.1082 8.87166 75.3083 7.08643 72.922 7.08643L72.9215 7.0869ZM71.3352 10.0765C71.4319 9.06607 71.8594 8.34612 72.9079 8.34612C73.9563 8.34612 74.3702 9.12142 74.3838 10.0765H71.3352Z fillcurrentColor/> path dM78.5876 12.2913H76.7529V14.3674H78.5876V12.2913Z fillcurrentColor/> path dM82.4234 4.78906L79.1263 14.3675H80.8918L81.7332 11.9314H85.3334L86.2022 14.3675H88.092L84.6574 4.78906H82.4229H82.4234ZM82.1334 10.4366C82.7406 8.56813 83.237 7.03172 83.4718 6.13201H83.4854C83.7197 6.94846 84.1751 8.24978 84.9199 10.4366H82.1334Z fillcurrentColor/> path dM90.504 4.78906H88.7108V14.3675H90.504V4.78906Z fillcurrentColor/> path dM13.3106 10.0311C13.0792 12.5912 10.9352 14.5978 8.32316 14.5978C5.55647 14.5978 3.31399 12.3476 3.31399 9.57136C3.31399 6.95075 5.31323 4.79939 7.86448 4.56666C7.98139 3.27575 8.58337 2.12533 9.488 1.30225C9.10711 1.2488 8.71867 1.21899 8.32316 1.21899C3.72647 1.21899 0 4.95833 0 9.57088C0 14.1834 3.72647 17.9228 8.32316 17.9228C12.9198 17.9228 16.6463 14.1834 16.6463 9.57088C16.6463 9.17401 16.6166 8.78423 16.5633 8.40202C15.7431 9.30929 14.5966 9.91383 13.3102 10.0311H13.3106Z fillcurrentColor/> path dM8.32108 4.54443C8.16646 4.54443 8.01372 4.55248 7.86287 4.56619C7.8492 4.71756 7.84119 4.87083 7.84119 5.02598C7.84119 7.80175 10.0837 10.0524 12.8504 10.0524C13.005 10.0524 13.1577 10.0444 13.3086 10.0307C13.3222 9.87931 13.3302 9.72605 13.3302 9.57089C13.3302 6.79513 11.0878 4.54443 8.32108 4.54443Z fillcurrentColor/> path dM16.5618 8.40203C17.3679 7.50989 17.8596 6.32588 17.8596 5.02646C17.8596 2.2507 15.6171 0 12.8504 0C11.5555 0 10.3755 0.492901 9.48645 1.30226C13.1502 1.8174 16.0484 4.72514 16.5618 8.40203Z fillcurrentColor/> /g> path dM119.913 12.3225H121.605C121.771 12.9621 122.27 13.3235 123.088 13.3235C123.92 13.3235 124.239 13.0038 124.239 12.5033C124.239 11.9611 123.92 11.7386 122.797 11.4606C120.565 10.9184 120.177 10.2233 120.177 9.23621C120.177 8.19353 120.911 7.12305 122.95 7.12305C125.002 7.12305 125.751 8.26304 125.82 9.25011H124.17C124.101 8.91646 123.865 8.36036 122.88 8.36036C122.104 8.36036 121.868 8.72182 121.868 9.09719C121.868 9.50036 122.118 9.70889 123.324 10.0008C125.626 10.5291 126 11.3216 126 12.3782C126 13.5738 125.071 14.6025 123.033 14.6025C120.967 14.6025 120.079 13.5877 119.913 12.3225Z fillcurrentColor/> path dM117.774 12.1696H119.48C119.216 13.3652 118.384 14.6025 116.36 14.6025C114.225 14.6025 113.06 13.1011 113.06 10.9045C113.06 8.83304 114.294 7.12305 116.457 7.12305C118.731 7.12305 119.424 8.76353 119.48 9.61157H117.788C117.65 8.97206 117.275 8.49938 116.416 8.49938C115.389 8.49938 114.821 9.38914 114.821 10.8489C114.821 12.406 115.403 13.2401 116.402 13.2401C117.15 13.2401 117.566 12.8091 117.774 12.1696Z fillcurrentColor/> path dM108.981 7.12305C111.047 7.12305 112.378 8.6106 112.378 10.8489C112.378 12.976 111.13 14.6025 108.898 14.6025C106.735 14.6025 105.473 13.0177 105.473 10.8767C105.473 8.70792 106.763 7.12305 108.981 7.12305ZM108.912 8.49938C107.858 8.49938 107.22 9.30572 107.22 10.8628C107.22 12.3086 107.872 13.2262 108.939 13.2262C110.021 13.2262 110.617 12.3225 110.617 10.8767C110.617 9.33353 110.021 8.49938 108.912 8.49938Z fillcurrentColor/> path dM96.4943 14.4354V4.81494H100.169C102.928 4.81494 104.758 6.66396 104.758 9.51395C104.758 12.3361 102.983 14.4354 100.099 14.4354H96.4943ZM98.2968 6.28859V12.9617H100.016C101.999 12.9617 102.9 11.502 102.9 9.52785C102.9 7.84566 102.054 6.28859 100.016 6.28859H98.2968Z fillcurrentColor/> defs> clipPath idclip0_25828_1538> rect width90.5101 height17.9228 fillcurrentColor/> /clipPath> /defs>/svg> /a> button classsidebar-close @clicktoggleSidebar(false) aria-labelClose menu> svg classsidebar-close__icon viewBox0 0 16 16 xmlnshttp://www.w3.org/2000/svg aria-hiddentrue focusablefalse> path fill-ruleevenodd clip-ruleevenodd dM12.8536 3.14645C13.0488 3.34171 13.0488 3.65829 12.8536 3.85355L3.85355 12.8536C3.65829 13.0488 3.34171 13.0488 3.14645 12.8536C2.95118 12.6583 2.95118 12.3417 3.14645 12.1464L12.1464 3.14645C12.3417 2.95118 12.6583 2.95118 12.8536 3.14645Z fillcurrentColor/> path fill-ruleevenodd clip-ruleevenodd dM3.14645 3.14645C3.34171 2.95118 3.65829 2.95118 3.85355 3.14645L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L3.14645 3.85355C2.95118 3.65829 2.95118 3.34171 3.14645 3.14645Z fillcurrentColor/>/svg> /button> /div> div classsidebar-sheet__content rolepresentation> navlinks> div classnav-item> a href#welcome-to-thestage-ai-documentation classnav-link > TheStage AI Platform /a> /div> div classnav-item> a href#welcome-to-thestage-ai-documentation classnav-link > Elastic Models /a> /div> div classnav-item> a href#welcome-to-thestage-ai-documentation classnav-link > Qlip /a> /div> div classnav-item> a href#welcome-to-thestage-ai-documentation classnav-link > Tutorials /a> /div> /navlinks>div idsearchbox classsearchbox rolesearch> div classcaption>span classcaption-text>Quick search/span> div classsearchformwrapper> form classsearch actionsearch.html methodget> input typetext nameq /> input typesubmit valueSearch /> input typehidden namecheck_keywords valueyes /> input typehidden namearea valuedefault /> /form> /div> /div>/div>div classsidebar-links rolenavigation aria-labelmain navigation> div classsidebar-group> p classcaption> span classcaption-text>a href#welcome-to-thestage-ai-documentation>TheStage AI Platform/a>/span> /p> ul class> li classtoctree-l1 > a hrefplatform/src/thestage-ai-ssh-keys-and-api-tokens.html classreference internal >TheStage AI Platform: SSH Keys and API Tokens/a> /li> /ul> /div> div classsidebar-group> p classcaption> span classcaption-text>a href#welcome-to-thestage-ai-documentation>Elastic Models/a>/span> /p> ul class> li classtoctree-l1 > a hrefelastic_models/docs/source/index.html classreference internal >Get Started/a> /li> li classtoctree-l1 > a hrefelastic_models/docs/source/elastic_models.benchmarking.html classreference internal >Benchmarking/a> /li> /ul> /div> div classsidebar-group> p classcaption> span classcaption-text>a href#welcome-to-thestage-ai-documentation>Qlip/a>/span> /p> ul class> li classtoctree-l1 > a hrefqlip/docs/source/index.html classreference internal >Get Started/a> /li> li classtoctree-l1 > a hrefqlip/docs/source/qlip.quantization_api.html classreference internal >Quantization API/a> /li> li classtoctree-l1 > a hrefqlip/docs/source/qlip.deploy_api.html classreference internal >Nvidia Compilation and Inference API/a> /li> li classtoctree-l1 > a hrefqlip/docs/source/qlip_algorithms_api.html classreference internal >Algorithms API/a> /li> li classtoctree-l1 > a hrefqlip/docs/source/anna_api.html classreference internal >Automated Acceleration API/a> /li> /ul> /div> div classsidebar-group> p classcaption> span classcaption-text>a href#welcome-to-thestage-ai-documentation>Tutorials/a>/span> /p> ul class> li classtoctree-l1 > a hreftutorials/source/elastic_flux.html classreference internal >Using 2x faster elastic FLUX schnell/a> /li> li classtoctree-l1 > a hreftutorials/source/elastic_transformers.html classreference internal >Get started with 4x faster Elastic LLMs/a> /li> li classtoctree-l1 > a hreftutorials/source/quantization_tutorial.html classreference internal >Basics of Quantization/a> /li> li classtoctree-l1 > a hreftutorials/source/flux_anna_tutorial.html classreference internal >FLUX Automated Acceleration/a> /li> li classtoctree-l1 > a hreftutorials/source/text2image_evaluation_tutorial.html classreference internal >Evaluation of Text-to-Image Models with Qlip/a> /li> li classtoctree-l1 > a hreftutorials/source/modal_thestage.html classreference internal >Serving ElasticModels on Modal/a> /li> li classtoctree-l1 > a hreftutorials/source/flux_caching_tutorial.html classreference internal >Flux Caching Tutorial/a> /li> /ul> /div> /div> /div> div classsidebar-sheet__gradient>/div> /div> /sidebar> page> div classbody-header rolenavigation aria-labelnavigation> ul classbreadcrumbs> li>a href#>Docs/a> »/li> li>Welcome to TheStage AI documentation!/li> /ul> ul classpage-nav> li classnext> a hrefplatform/src/thestage-ai-ssh-keys-and-api-tokens.html titlenext chapter>TheStage AI Platform: SSH Keys and API Tokens →/a> /li>/ul> /div>hr> div classpage-container> div classcontent rolemain v-pre> div classcontent__body> section idwelcome-to-thestage-ai-documentation>h1>Welcome to TheStage AI documentation!a classheaderlink href#welcome-to-thestage-ai-documentation titlePermalink to this headline>¶/a>/h1>p>Hello and welcome to TheStage AI documentation!We are providing infrenence acceration stack for AI models. Its based on our mathematical frameworkwhich allows to control models’ accuracy and performance trade-off with a slider movement.Resulted models can be compiled for execution on Nvidia GPUs and Apple Silicon devices./p>p>We are providing different components to build your own AI stack:/p>ul>li>p>strong>TheStage AI Platform/strong>:/p>blockquote>div>ul classsimple>li>p>A platform to run your AI models on self-hosted instances./p>/li>li>p>Provides a web interface and CLI to manage your projects, instances, and models./p>/li>/ul>/div>/blockquote>/li>li>p>strong>TheStage CLI/strong>:/p>blockquote>div>ul classsimple>li>p>A command-line interface to interact with TheStage AI Platform./p>/li>/ul>/div>/blockquote>/li>li>p>strong>Elastic Models/strong>:/p>blockquote>div>ul classsimple>li>p>A library with pre-compiled models with 4 perfomance tiers: XL, L, M, S./p>/li>li>p>Allows to use models with different performance and accuracy trade-offs./p>/li>li>p>Allows to serve desired models in a single line of code on your machine or in the cloud./p>/li>/ul>/div>/blockquote>/li>li>p>strong>Qlip/strong>:/p>blockquote>div>ul classsimple>li>p>A full-stack AI framework to build, train, and deploy AI models on-prem./p>/li>li>p>Compile models for execution on Nvidia GPUs and Apple Silicon devices./p>/li>li>p>Automatically apply quantization and pruning algorithms to optimize models for performance and control that with a slider./p>/li>li>p>Serve resulted models with a convenient API./p>/li>/ul>/div>/blockquote>/li>/ul>div classtoctree-wrapper compound>/div>div classtoctree-wrapper compound>/div>div classtoctree-wrapper compound>/div>div classtoctree-wrapper compound>/div>/section> /div> div classquick-nav> div classquick-nav__content> ul>li>a classreference internal href#>Welcome to TheStage AI documentation!/a>ul>/ul>/li>/ul> /div> /div> /div> div classpage-nav> div classinner>ul classpage-nav> li classnext> a hrefplatform/src/thestage-ai-ssh-keys-and-api-tokens.html titlenext chapter>TheStage AI Platform: SSH Keys and API Tokens →/a> /li>/ul>div classfooter rolecontentinfo> © Copyright 2025, TheStage AI. br> Created using a hrefhttp://sphinx-doc.org/>Sphinx/a> 4.3.2 with a hrefhttps://github.com/schettino72/sphinx_press_theme>Press Theme/a> 0.9.1./div> /div> /div> /div> /page> /div>/div> script> document.addEventListener(DOMContentLoaded, () > { const allSections Array.from(document.querySelectorAll(sectionid, h2id)); const allLinks Array.from(document.querySelectorAll(.quick-nav .reference.internal:not(ul li ul li ul .reference.internal))); const links allLinks.filter(link > { const style window.getComputedStyle(link.parentElement); return style.display ! none; }); const visibleIds links.map(link > link.getAttribute(href).replace(#, )).filter(id > id ! ); const sections allSections.filter(section > visibleIds.includes(section.id) || section allSections0 ); if (!sections.length) return; const ratios new Map(sections.map(s > s.id, 0)); const contentEl document.querySelector(.page-container); const observer new IntersectionObserver((entries) > { entries.forEach(entry > { ratios.set(entry.target.id, entry.isIntersecting ? entry.intersectionRatio : 0); }); updateActive(); }, { root: null, rootMargin: 0px 0px -40% 0px, threshold: Array.from({length: 101}, (_, i) > i / 100) }); sections.forEach(s > observer.observe(s)); function updateActive() { let bestId null; let bestSection null; const content document.querySelector(.page-container); const contentScrollTop content.scrollTop; const contentHeight content.scrollHeight; const isAtBottom contentScrollTop + content.clientHeight > contentHeight - 100; if (isAtBottom && sections.length > 0) { bestSection sectionssections.length - 1; } else if (contentScrollTop 100) { bestSection sections0; } else { const contentRect content.getBoundingClientRect(); sections.forEach(section > { const rect section.getBoundingClientRect(); const topWithin rect.top - contentRect.top; const isLastSection section sectionssections.length - 1; if (isLastSection) { if (topWithin 150) { bestSection section; } } else { if (topWithin 200) { bestSection section; } } }); if (!bestSection && sections.length > 0) { bestSection sections0; } } bestId bestSection ? bestSection.id : null; links.forEach((link, index) > { const linkHash link.getAttribute(href).replace(#, ); let isActive false; if (linkHash && bestSection sections0) { isActive true; } else { isActive linkHash bestId; } link.classList.toggle(active, isActive); }); } updateActive(); window.addEventListener(resize, updateActive); contentEl.addEventListener(scroll, updateActive); }); /script> /body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]