Cotton code
46 lines · 2.9 KB · HTMLRaw
<!doctype html><!-- A news article shaped like a real one: its own styles, script and pictures, ad tags, analytics and two     recommendation widgets. Every name is invented; the tracker hosts are on Cotton Sites' own list     (crates/cotton-core/src/sites_trackers.txt), and the tag manager is one the list leaves off on purpose. --><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Harbour bridge reopens - The Daily Example</title><script>var want = 6, got = 0; function mine() { got++; var f = document.getElementById('first-party'); if (f) f.textContent = 'First-party: ' + got + ' of ' + want + ' loaded'; }</script><link rel="stylesheet" href="/static/news.css" onload="mine(this)"><script async src="https://www.googletagmanager.com/gtm.js?id=GTM-EXAMPLE"></script><script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script><script async src="https://c.amazon-adsystem.com/aax2/apstag.js"></script><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-0000000000000000"></script><script async src="https://www.google-analytics.com/analytics.js"></script><script async src="https://static.chartbeat.com/js/chartbeat.js"></script><script async src="https://sb.scorecardresearch.com/cs/0000000/beacon.js"></script><script async src="https://cdn.krxd.net/controltag/example.js"></script></head><body><header class="mast"><a href="/">The Daily Example</a></header><article>  <h1>Harbour bridge reopens after two years of repairs</h1>  <p class="byline">By A. Writer · 27 November</p>  <img src="/img/hero.svg" alt="The bridge at dusk" onload="mine(this)">  <p>The bridge reopened to walkers and bicycles this morning, a week ahead of the date the council set.</p>  <div class="ad" id="ad-top"><img src="https://tpc.googlesyndication.com/simgad/000000" alt=""></div>  <p>Repairs replaced every cable and the deck's surface. Traffic returns on Monday.</p>  <img src="/img/thumb1.svg" alt="Cable work" onload="mine(this)">  <div class="ad" id="ad-mid"><img src="https://ad.doubleclick.net/ddm/ad/N0000.example/B0000;sz=300x250" alt=""></div>  <section class="more">    <h2>More to read</h2>    <img src="/img/thumb2.svg" alt="" onload="mine(this)">    <div id="taboola-below"></div>    <script async src="https://cdn.taboola.com/libtrc/example-network/loader.js"></script>    <div class="OUTBRAIN" data-widget-id="AR_1"></div>    <script async src="https://widgets.outbrain.com/outbrain.js"></script>  </section></article><img src="https://b.scorecardresearch.com/p?c1=2&c2=0000000&cv=3.6" width="1" height="1" alt=""><img src="https://www.google-analytics.com/collect?v=1&t=pageview&tid=UA-000000-1" width="1" height="1" alt=""><footer id="first-party">First-party: waiting</footer><script src="/static/news.js" onload="mine(this)"></script></body></html>