-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlegacy.js
3 lines (2 loc) · 9.02 KB
/
legacy.js
1
2
document.getElementsByClassName('pz-ad-box')[0].style.display = 'none';
document.getElementsByClassName('pz-header')[0].innerHTML = '<header class="Header-header--2X8Zj"><div class="NavDrawer-navDrawerContainer--23OZS"><button type="button" class="NavDrawer-hamburger--24R2q NavDrawer-hamburgerSqueeze--2bOQM"><span class="NavDrawer-hamburgerBox--3ni9O"><span class="NavDrawer-hamburgerInner--14HBD"></span></span></button><div id="mcolen1"></div><div class="NavDrawer-navDrawer--C7FP5"><nav id="mcolen2"><a class="NavDrawer-navItem--nMB9J NavDrawer-link--35EiX NavDrawer-selected--7eSOt" href="https://www.nytimes.com/crosswords">Home</a><a class="NavDrawer-navItem--nMB9J NavDrawer-link--35EiX" href="https://www.nytimes.com/crosswords/archive">Archive</a><a class="NavDrawer-navItem--nMB9J NavDrawer-link--35EiX" href="https://www.nytimes.com/puzzles/stats">Statistics</a><a class="NavDrawer-navItem--nMB9J NavDrawer-link--35EiX" href="https://www.nytimes.com/puzzles/leaderboards">Leaderboards </a><a href="https://www.nytimes.com/subscription/games/lp897H9.html?campaignId=4QHQ8" class="NavDrawer-subscribe--1tI5G NavDrawer-navItem--nMB9J NavDrawer-link--35EiX">Subscribe</a></nav><div class="NavDrawer-accountInfo--1Otvr"><hr id="mcolen3"><div id="mcolen4"><a href="https://myaccount.nytimes.com/auth/login?application=crosswords&asset=navigation-drawer&client_id=games&redirect_uri=&response_type=cookie" class="AccountActions-button--2Kjj0 AccountActions-roundedRectangle--177GQ AccountActions-buttonText--3HVLW AccountActions-logIn--3DY3C">Log In</a><a href="https://myaccount.nytimes.com/register?application=crosswords&asset=navigation-drawer&client_id=games&redirect_uri=&response_type=cookie" class="AccountActions-button--2Kjj0 AccountActions-roundedRectangle--177GQ AccountActions-buttonText--3HVLW AccountActions-createAccount--PoMnC">Create Account</a></div></div><a class="NavDrawer-soloLink--2YhOM NavDrawer-link--35EiX" href="https://nytimes.com/">NYTimes.com</a><a href="#ccpa-hamburger" id="ccpa-hamburger" class="NavDrawer-minorLink--MvELP NavDrawer-link--35EiX ccpa-opt-out" data-region="menu">Do Not Sell My Personal Information</a></div></div><div class="Header-branding--3aTOQ"><a id="mcolen5" href="https://www.nytimes.com/crosswords" aria-label="New York Times Games Logo. Click for more puzzles"><svg class="Header-navLogo--37fmL" width="160" height="21" viewBox="0 0 160 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.8694 1.66095H20.3694V19.814H20.8694V1.66095Z" fill="black"></path><path d="M15.4617 12.9011C14.8285 14.5897 13.6148 15.9617 11.9261 16.6478V12.9011L13.9842 11.0541L11.9261 9.25989V6.67414C13.7731 6.5686 15.0923 5.1438 15.0923 3.50792C15.0923 1.29156 12.9815 0.5 11.8206 0.5C11.5567 0.5 11.2929 0.5 10.8707 0.605541V0.711082C11.029 0.711082 11.2401 0.711082 11.3456 0.711082C12.19 0.711082 12.8232 1.08047 12.8232 1.87203C12.8232 2.45251 12.3483 3.03298 11.504 3.03298C9.44591 3.03298 7.01847 1.3971 4.43272 1.3971C2.11082 1.3971 0.474934 3.13852 0.474934 4.87995C0.474934 6.62137 1.47757 7.20185 2.53298 7.57124V7.4657C2.21636 7.25462 1.95251 6.88522 1.95251 6.30475C1.95251 5.51319 2.69129 4.87995 3.58839 4.87995C5.80475 4.87995 9.34037 6.72691 11.5567 6.72691H11.7678V9.31266L9.70976 11.0541L11.7678 12.9011V16.7005C10.9235 17.0171 10.0264 17.1227 9.12929 17.1227C5.69921 17.1227 3.53562 15.0646 3.53562 11.5818C3.53562 10.7375 3.64116 9.94591 3.85224 9.15435L5.5409 8.41557V16.0673L9.02375 14.5369V6.72691L3.90501 8.99604C4.43272 7.4657 5.48813 6.41029 6.75462 5.77704V5.72427C3.32454 6.46306 0 9.04881 0 12.9538C0 17.4393 3.79947 20.5528 8.17942 20.5528C12.876 20.5528 15.5145 17.4393 15.5145 12.9011H15.4617Z" fill="black"></path><path d="M41.7942 18.7058C39.5251 19.814 37.9947 20.1306 35.62 20.1306C29.8153 20.1306 25.8575 16.1728 25.8575 10.2097C25.8575 7.30736 26.7546 4.98546 28.3905 3.45512C29.8681 2.08309 31.9789 1.3443 34.1425 1.3443C35.62 1.3443 36.781 1.60815 38.0475 2.29417V1.66092H41.7414V8.62662H38.0475C37.8364 6.5158 37.0448 5.51316 35.6728 5.51316C33.9314 5.51316 32.7177 7.36013 32.7177 9.94588C32.7177 11.3707 33.0871 12.4789 33.7731 13.4287C34.6174 14.6425 36.095 15.3285 37.5726 15.3285C38.7863 15.3285 39.7361 15.0118 41.7942 13.7454V18.7058Z" fill="black"></path><path d="M54.7229 11.4235C53.2981 11.4235 52.6649 11.4235 51.9789 11.6345C51.1873 11.7929 50.6068 12.2678 50.2375 12.8483C50.0264 13.2704 49.9208 13.7981 49.9208 15.2229V16.4894H51.2929V19.8667H43.0079V16.4894H44.0633V10.7374H43.0079V7.36014H49.8681V9.25988C50.9762 8.04616 52.2427 7.04352 53.9314 7.04352C54.1425 7.04352 54.4063 7.04352 54.6702 7.04352V11.4235H54.7229Z" fill="black"></path><path d="M62.4274 20.0778C58.5752 20.0778 54.8813 17.8087 54.8813 13.6398C54.8813 9.41818 58.4696 7.14905 62.3747 7.14905C66.3324 7.14905 69.8681 9.41818 69.8681 13.6398C69.8681 17.8614 66.2797 20.0778 62.4274 20.0778ZM62.3219 10.4736C60.9499 10.4736 60.7388 12.2678 60.7388 13.3232C60.7388 14.3786 60.8443 16.5422 62.3219 16.5422C63.7995 16.5422 64.0105 14.8008 64.0105 13.6926C64.0105 12.5316 63.9578 10.4736 62.3219 10.4736Z" fill="black"></path><path d="M77.467 20.0778C76.2005 20.0778 75.2507 19.8667 73.4565 19.1807V19.814H70.6596V15.6979H73.4037C73.7203 16.806 74.1952 17.3337 75.2507 17.3337C76.0422 17.3337 76.5171 17.0171 76.5171 16.3839C76.5171 15.9617 76.2533 15.5923 75.6728 15.3812L72.9815 14.2203C71.6095 13.6398 70.8707 12.4261 70.8707 11.1068C70.8707 8.99601 72.9815 7.14905 75.62 7.14905C76.7282 7.14905 77.6253 7.36013 78.839 7.9406V7.4129H81.6359V11.3707H79.0501C78.839 10.1042 78.3641 9.47095 77.4142 9.47095C76.7282 9.47095 76.2005 9.89311 76.2005 10.4208C76.2005 10.8957 76.5171 11.2651 77.1504 11.529L79.7889 12.5844C81.5303 13.2704 82.3219 14.3786 82.3219 15.8562C82.4274 18.2308 80.3694 20.0778 77.467 20.0778Z" fill="black"></path><path d="M89.8681 20.0778C88.6016 20.0778 87.6517 19.8667 85.8575 19.1807V19.814H83.0607V15.6979H85.8047C86.1214 16.806 86.5963 17.3337 87.6517 17.3337C88.4433 17.3337 88.9182 17.0171 88.9182 16.3839C88.9182 15.9617 88.6543 15.5923 88.0739 15.3812L85.3826 14.2203C84.0105 13.6398 83.2718 12.4261 83.2718 11.1068C83.2718 8.99601 85.3826 7.14905 88.0211 7.14905C89.1293 7.14905 90.0264 7.36013 91.2401 7.9406V7.4129H94.0369V11.3707H91.4512C91.2401 10.1042 90.7652 9.47095 89.8153 9.47095C89.1293 9.47095 88.6016 9.89311 88.6016 10.4208C88.6016 10.8957 88.9182 11.2651 89.5514 11.529L92.19 12.5844C93.9314 13.2704 94.7229 14.3786 94.7229 15.8562C94.7757 18.2308 92.7704 20.0778 89.8681 20.0778Z" fill="black"></path><path d="M115.62 10.7375H115.145L112.296 19.7612H107.441L105.435 13.9037L103.061 19.7612H98.3641L96.095 10.7375H95.3034V7.36017H102.322V10.7375H101.425L102.005 14.4842H102.058L104.802 7.36017H108.39L110.501 14.4842H110.554L111.662 10.7375H110.923V7.36017H115.62V10.7375Z" fill="black"></path><path d="M123.325 20.0778C119.472 20.0778 115.778 17.8087 115.778 13.6398C115.778 9.41818 119.367 7.14905 123.272 7.14905C127.23 7.14905 130.765 9.41818 130.765 13.6398C130.765 17.8614 127.177 20.0778 123.325 20.0778ZM123.219 10.4736C121.847 10.4736 121.636 12.2678 121.636 13.3232C121.636 14.3786 121.741 16.5422 123.219 16.5422C124.697 16.5422 124.908 14.8008 124.908 13.6926C124.908 12.5316 124.855 10.4736 123.219 10.4736Z" fill="black"></path><path d="M143.377 11.4235C141.953 11.4235 141.319 11.4235 140.633 11.6345C139.842 11.7929 139.261 12.2678 138.892 12.8483C138.681 13.2704 138.575 13.7981 138.575 15.2229V16.4894H139.947V19.8667H131.662V16.4894H132.718V10.7374H131.662V7.36014H138.522V9.25988C139.631 8.04616 140.897 7.04352 142.586 7.04352C142.797 7.04352 143.061 7.04352 143.325 7.04352V11.4235H143.377Z" fill="black"></path><path d="M159.947 19.814H153.034V18.653C151.768 19.4974 150.765 20.0251 149.182 20.0251C145.541 20.0251 143.799 16.7533 143.799 13.4815C143.799 10.1042 145.752 7.09631 149.393 7.09631C150.818 7.09631 151.926 7.51847 153.034 8.3628V5.03826H151.662V1.66095H158.892V16.4367H160V19.814H159.947ZM151.398 10.4736C149.921 10.4736 149.604 12.3734 149.604 13.4815C149.604 14.6425 149.71 16.5422 151.293 16.5422C152.823 16.5422 153.087 14.5369 153.087 13.376C153.14 12.3206 152.77 10.4736 151.398 10.4736Z" fill="black"></path></svg></a></div><div class="ExpandedNav-expandedNavContainer--YyQ4Z"><div class="ExpandedNav-expandedNav--16RdJ"><a class="ExpandedNav-navItem--199L1 ExpandedNav-links--2t4yu" href="https://www.nytimes.com/crosswords/archive">Archive</a><a class="ExpandedNav-navItem--199L1 ExpandedNav-links--2t4yu" href="https://www.nytimes.com/puzzles/stats">Statistics</a><a class="ExpandedNav-navItem--199L1 ExpandedNav-links--2t4yu" href="https://www.nytimes.com/puzzles/leaderboards">Leaderboards </a><a href="https://www.nytimes.com/subscription/games/lp897H9.html?campaignId=4QHQ8" class="ExpandedNav-subscribe--3Q6BY ExpandedNav-navItem--199L1 ExpandedNav-links--2t4yu ExpandedNav-blue--2A53B">Subscribe</a><a href="https://myaccount.nytimes.com/auth/login?application=crosswords&asset=navigation-bar&client_id=games&redirect_uri=&response_type=cookie" class="AccountActions-button--2Kjj0 AccountActions-roundedRectangle--177GQ AccountActions-buttonText--3HVLW AccountActions-logIn--3DY3C">Log In</a></div></div></header>';