从卡丁车到 F1 · 完整 HTML完整 HTML · 十一个页面与互动已内置
保存后可离线使用,来源外链需要联网。 ';html=html.replace('',()=>tag(boot)+tag(dataJS)+tag(P.app)+tag('if(window.PORTABLE_ROUTE.hash)requestAnimationFrame(()=>document.querySelector(window.PORTABLE_ROUTE.hash)?.scrollIntoView());')+'');frame.srcdoc=html;document.title=(r.id==='index'?'从卡丁车到 F1':P.pages[r.id].match(/
(.*?)<\/title>/)[1])+' · 完整 HTML';}
window.addEventListener('hashchange',render);render();document.getElementById('download-html').onclick=()=>{const copy=document.documentElement.cloneNode(true);copy.querySelector('iframe').removeAttribute('srcdoc');copy.dataset.portableBar='closed';copy.querySelector('#portable-bar').hidden=true;copy.querySelector('#restore-portable-bar').hidden=false;download(''+copy.outerHTML,'从卡丁车到F1-完整互动版.html','text/html;charset=utf-8');};