Download App

${c.name}

${aliases ? `
Also known as: ${aliases}
` : ''}

${c.tagline}

${evidenceBadge(c)}
${c.no_data ? `
⚠ No Published Human Pharmacokinetic Data
All half-life and dosing values for this compound are based on preclinical (animal) studies or community protocols. These values cannot be assumed to apply to humans. Always verify with a qualified healthcare provider.
` : ''} ${c.warning ? `
⚠ Important: ${c.warning}
` : ''}
${c.approved_use ? `` : ''}
ParameterValue
Plasma half-life
${c.hl}
${c.hl_note}
Dose range${c.dose_range}
Route of administration${c.route}
Dosing frequency${c.frequency}
Approved use${c.approved_use}
${presets ? `

Common dose presets (default highlighted):

${presets}
` : ''}
${mechanismParas ? `
${mechanismParas}
` : ''} ${pkParas ? `
${pkParas}
` : ''} ${sources ? `
${sources}
` : ''}
Medical Disclaimer: This database is for informational and educational purposes only. Information about research compounds, off-label uses, and community dosing protocols does not constitute medical advice. Several compounds listed are not approved by the FDA or other regulatory agencies and may carry unknown risks. Always consult a qualified healthcare provider before using any compound. Halflife Labs makes no representations about the safety, efficacy, or legality of any compound listed in this database.
`; } function renderNotFound(slug) { document.getElementById('app').innerHTML = `

Compound not found

No compound with identifier "${slug}" exists in the database.

← Back to Database
`; } function loadFromHash() { const slug = window.location.hash.replace('#','') || 'tirzepatide'; const c = getCompound(slug); if (c) { const color = COLORS[c.cat]; document.documentElement.style.setProperty('--accent', color); renderCompound(c, color); window.scrollTo(0,0); // Update meta description dynamically let metaDesc = document.querySelector('meta[name="description"]'); if (!metaDesc) { metaDesc = document.createElement('meta'); metaDesc.name='description'; document.head.appendChild(metaDesc); } const hl = c.hl || ''; const tagline = c.tagline ? c.tagline.substring(0,120) : ''; metaDesc.content = `${pageTitle}. Half-life: ${hl}. ${tagline} Track in the Halflife app — FDA-sourced pharmacokinetic data.`.substring(0,160); // Update canonical let canon = document.querySelector('link[rel="canonical"]'); if (!canon) { canon = document.createElement('link'); canon.rel='canonical'; document.head.appendChild(canon); } canon.href = `https://halflife-labs.com/compounds/${slug}`; } else { renderNotFound(slug); } } window.addEventListener('hashchange', loadFromHash); loadFromHash();