/dev/nikc/blog

Kuolleiden purjehduskenkien seura

Aug 15th 2007

Rikkinäinen, muttei kuitenkaan

10:12

Ärräpääthän minulla soivat, kun ei se toivomani trackback-korjaus tullutkaan mukana WordPressin päivityksessä.

Totesin tämän kun törmäsin sivustoon nimeltä BuiltWith.com, joka haistelee sivustolla käytössä olevia teknologioita. Pakkohan sitä oli omaan blogiin kokeilla, ja eikös siinä vain komeillut se sama saamarin rimpsu jota trackbackeihin on pukannut, eli ’ + title + ’ – ’ + basename(imgurl) + ’(’ + w + ’x’ + h +’).

Hetken murehdittuani haistoin kuitenkin palaneen käryä ja otin hetken mietintätuokion pohtiakseni miten tuohon tulokseen oikein päästään. Loppujen lopuksi hyvä ystäväni grep tuli avukseni ja paikallistin ko. rimpsun ImageManager -laajennuksen lähdekoodiin. Siitä jatkoin blogini etusivun (selaimessa näkyvään) lähdekoodiin ja siellähän se seisoi, ja mikä oli oleellisinta, ennen blogin html-sivun

</p> <p></code> -tagia.</p> <p>Tästä päättelin <em><span class="löytynyt valmiinakin jo jostain epäilemättä tieto tämäkin olisihan"></span></em> että trackback-linkkiin otsikkoa haettaessa lainataan viittaavasta osoitteesta <code></p> <p><title></p> <p>…</p> <p>

-tagien sisältö. Tässä tapauksessa ensimmäinen osuma osui juuri tuohon ImageManagerin head-osioon lisäämään JavaScriptiin.

No, tästähän riemastuin koska korjaus olisi helppoa muokkaamalla teemaa, mutta samalla sapetti, koska koko tämän tilanteen olisi voinut välttää ainakin kahdella tavalla:

# ImageManager voisi säilyttää JavaScriptinsa erillisessä tiedostossa sen sijaan että kirjoittaa sen suoraan sivun lähdekoodiin. Siinä olisi sekin hyöty että tiedosto jäisi selaimen välimuistiin ja näin pienentäisi perättäisten sivulatausten kokoa.

# Tagin olisi skriptissä voinut pilkkoa muotoon ‘<tit’ + ‘le>’, tehokkaasti estäen että se tuottaisi osuman

</p> <p></code> -merkkijonoa haettaessa.</p> <p>Taidanpa antaa projektille pienen kontribuution…</p> <div class="sharedaddy sd-sharing-enabled"><div class="robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing"><div class="sd-content"><ul><li class="share-facebook"><a rel="nofollow noopener noreferrer" data-shared="sharing-facebook-862" class="share-facebook sd-button share-icon" href="https://blog.nikc.org/2007/08/15/rikkinainen-muttei-kuitenkaan/?share=facebook" target="_blank" title="Click to share on Facebook" ><span>Facebook</span></a></li><li class="share-twitter"><a rel="nofollow noopener noreferrer" data-shared="sharing-twitter-862" class="share-twitter sd-button share-icon" href="https://blog.nikc.org/2007/08/15/rikkinainen-muttei-kuitenkaan/?share=twitter" target="_blank" title="Click to share on Twitter" ><span>Twitter</span></a></li><li class="share-linkedin"><a rel="nofollow noopener noreferrer" data-shared="sharing-linkedin-862" class="share-linkedin sd-button share-icon" href="https://blog.nikc.org/2007/08/15/rikkinainen-muttei-kuitenkaan/?share=linkedin" target="_blank" title="Click to share on LinkedIn" ><span>LinkedIn</span></a></li><li class="share-end"></li></ul></div></div></div> </div> <div class="c-b"> </div> <p class="postmetadata"> <a href="https://blog.nikc.org/2007/08/15/rikkinainen-muttei-kuitenkaan/#respond0" class="comments" title="Comment on Rikkinäinen, muttei kuitenkaan">Be the first one to comment »</a> | Posted in <a href="https://blog.nikc.org/category/propellihattujuttuja/" rel="category tag">Ropelihattujutui</a>, <a href="https://blog.nikc.org/category/suomeksi/" rel="category tag">Suomeksi</a> | <a href="https://blog.nikc.org/2007/08/15/rikkinainen-muttei-kuitenkaan/trackback/" rel="nofollow trackback">Trackback</a> </p> <div id="comments0" class="comments"> <!-- You can start editing here. --> </div> <!-- #comments --> <p>Sorry, the comment form is closed at this time.</p> </div> </div> <div id="rightcol"> <h2 class="h">Meta</h2> <div class="column"> <h3>Subscribe to feeds</h3> <ul> <li><a href='http://cloud.feedly.com/#subscription%2Ffeed%2Fhttp%3A%2F%2Fblog.nikc.org%2Ffeed' class="feedly">Follow on Feedly</a></li> <li><a href="https://blog.nikc.org/feed/" class="rss">Entries <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="https://blog.nikc.org/comments/feed/" class="rss">Comments <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="http://www.whatisrss.com/" class="help">What are feeds?</a></li> </ul> </div> <div class="column"> <h3>Pages</h3> <ul class="naviList"> <li><a href="http://blog.nikc.org">Blog</a></li> <li class="page_item page-item-7"><a href="https://blog.nikc.org/mika/">Mikä?</a></li> </ul> </div> <div class="column"> <form id="searchform" method="get" action="/"> <h3>Search blog</h3> <input type="text" name="s" id="s" size="20" value="Search terms" onfocus="clearTxtInput(this)" /> <input type="submit" class="btn" value="Search" /> </form> </div> <div class="column"> <h3>Latest Posts</h3> <ul> <li><a href="https://blog.nikc.org/2022/08/20/overland-from-finland-to-london-epilogue/" title="View post Overland from Finland to London: Epilogue">Overland from Finland to London: Epilogue</a></li> <li><a href="https://blog.nikc.org/2022/08/14/overland-from-finland-to-london-days-3-and-4/" title="View post Overland from Finland to London: Days 3 and 4">Overland from Finland to London: Days 3 and 4</a></li> <li><a href="https://blog.nikc.org/2022/08/14/overland-from-finland-to-london-day-2/" title="View post Overland from Finland to London: Day 2">Overland from Finland to London: Day 2</a></li> <li><a href="https://blog.nikc.org/2022/08/14/overland-from-finland-to-london-day-1/" title="View post Overland from Finland to London: Day 1">Overland from Finland to London: Day 1</a></li> <li><a href="https://blog.nikc.org/2022/08/04/overland-from-london-to-finland-day-5/" title="View post Overland from London to Finland: Day 5">Overland from London to Finland: Day 5</a></li> <li><a href="https://blog.nikc.org/2022/07/15/overland-from-london-to-finland-day-4/" title="View post Overland from London to Finland: Day 4">Overland from London to Finland: Day 4</a></li> <li><a href="https://blog.nikc.org/2022/07/11/overland-from-london-to-finland-day-3/" title="View post Overland from London to Finland: Day 3">Overland from London to Finland: Day 3</a></li> <li><a href="https://blog.nikc.org/2022/07/10/overland-from-london-to-finland-day-2/" title="View post Overland from London to Finland: Day 2">Overland from London to Finland: Day 2</a></li> <li><a href="https://blog.nikc.org/2022/07/09/overland-from-london-to-finland-the-beginning/" title="View post Overland from London to Finland: The Beginning">Overland from London to Finland: The Beginning</a></li> <li><a href="https://blog.nikc.org/2017/09/19/the-day-the-dev-gtld-died/" title="View post The day the .dev gTLD died">The day the .dev gTLD died</a></li> </ul> </div> <div class="column"> <!-- Recent comments --> <h3>Latest comments</h3> <ul> <li><b>nikc</b> on <i>Managing scrollTop in your Backbone single-page app</i>: <a href='https://blog.nikc.org/2013/12/03/managing-scrolltop-in-your-backbone-single-page-app/#comment-103057' title='View the entire comment'>Richard, you’re right, you can store...</a></li> <li><b>Richard Hunter</b> on <i>Managing scrollTop in your Backbone single-page app</i>: <a href='https://blog.nikc.org/2013/12/03/managing-scrolltop-in-your-backbone-single-page-app/#comment-101800' title='View the entire comment'>Unfortunately, pop state wont help you...</a></li> <li><b>nikc</b> on <i>Managing scrollTop in your Backbone single-page app</i>: <a href='https://blog.nikc.org/2013/12/03/managing-scrolltop-in-your-backbone-single-page-app/#comment-99378' title='View the entire comment'>Richard, Thank you. You’re right, scroll position...</a></li> <li><b>Richard Hunter</b> on <i>Managing scrollTop in your Backbone single-page app</i>: <a href='https://blog.nikc.org/2013/12/03/managing-scrolltop-in-your-backbone-single-page-app/#comment-99370' title='View the entire comment'>This is a clever solution- however...</a></li> <li><b>llaurén</b> on <i>Better tools for procrastination</i>: <a href='https://blog.nikc.org/2014/07/19/better-tools-for-procrastination/#comment-20216' title='View the entire comment'>Yer welcome! </a></li> <li><b>nikc</b> on <i>Better tools for procrastination</i>: <a href='https://blog.nikc.org/2014/07/19/better-tools-for-procrastination/#comment-20153' title='View the entire comment'>Well, after evaluating both, I find...</a></li> <li><b>nikc</b> on <i>Better tools for procrastination</i>: <a href='https://blog.nikc.org/2014/07/19/better-tools-for-procrastination/#comment-18591' title='View the entire comment'>Having taken a closer look at...</a></li> <li><b>nikc</b> on <i>Better tools for procrastination</i>: <a href='https://blog.nikc.org/2014/07/19/better-tools-for-procrastination/#comment-18228' title='View the entire comment'>One Tab looks nice, too. But...</a></li> <li><b>llaurén</b> on <i>Better tools for procrastination</i>: <a href='https://blog.nikc.org/2014/07/19/better-tools-for-procrastination/#comment-17455' title='View the entire comment'>Nice catch! I use One Tab to...</a></li> <li><b>nikc</b> on <i>How to turn your smartphone (nearly) useless in one simple step</i>: <a href='https://blog.nikc.org/2013/06/27/how-to-turn-your-smartphone-nearly-useless-in-one-simple-step/#comment-3457' title='View the entire comment'>Wow, I’d love for the EU...</a></li> </ul> <!-- Recent comments --> </div> </div> </div> <div id="footer"> <div id="categories" class="column"> <h3>Categories:</h3> <ul> <li class="cat-item cat-item-20"><a href="https://blog.nikc.org/category/cycling/">Cycling</a> (<a href="https://blog.nikc.org/category/cycling/feed/">rss</a>) (8) </li> <li class="cat-item cat-item-17"><a href="https://blog.nikc.org/category/english/">In English</a> (<a href="https://blog.nikc.org/category/english/feed/">rss</a>) (211) </li> <li class="cat-item cat-item-8"><a href="https://blog.nikc.org/category/asides/">Lyhykäisii</a> (<a href="https://blog.nikc.org/category/asides/feed/">rss</a>) (746) </li> <li class="cat-item cat-item-19"><a href="https://blog.nikc.org/category/motorismi/">Motorismi</a> (<a href="https://blog.nikc.org/category/motorismi/feed/">rss</a>) (2) </li> <li class="cat-item cat-item-9"><a href="https://blog.nikc.org/category/pyldyyri/">Pyldyyri</a> (<a href="https://blog.nikc.org/category/pyldyyri/feed/">rss</a>) (429) <ul class='children'> <li class="cat-item cat-item-18"><a href="https://blog.nikc.org/category/pyldyyri/kuvapyldyyri/">Kuvapyldyyri</a> (<a href="https://blog.nikc.org/category/pyldyyri/kuvapyldyyri/feed/">rss</a>) (139) </li> </ul> </li> <li class="cat-item cat-item-10"><a href="https://blog.nikc.org/category/svenska/">På svenska</a> (<a href="https://blog.nikc.org/category/svenska/feed/">rss</a>) (24) </li> <li class="cat-item cat-item-4"><a href="https://blog.nikc.org/category/propellihattujuttuja/">Ropelihattujutui</a> (<a href="https://blog.nikc.org/category/propellihattujuttuja/feed/">rss</a>) (156) </li> <li class="cat-item cat-item-1"><a href="https://blog.nikc.org/category/suomeksi/">Suomeksi</a> (<a href="https://blog.nikc.org/category/suomeksi/feed/">rss</a>) (627) </li> </ul> </div> <div id="archives" class="column" rel="archives"> <h3>Archives:</h3> <ul> <li class="collapsible"><a href="/2022/">2022</a> (9) <ul> <li><a href='https://blog.nikc.org/2022/08/'>August 2022</a> (5)</li><li><a href='https://blog.nikc.org/2022/07/'>July 2022</a> (4)</li> </ul></li> <li class="collapsible"><a href="/2017/">2017</a> (2) <ul> <li><a href='https://blog.nikc.org/2017/09/'>September 2017</a> (1)</li><li><a href='https://blog.nikc.org/2017/06/'>June 2017</a> (1)</li> </ul></li> <li class="collapsible"><a href="/2015/">2015</a> (13) <ul> <li><a href='https://blog.nikc.org/2015/12/'>December 2015</a> (1)</li><li><a href='https://blog.nikc.org/2015/11/'>November 2015</a> (1)</li><li><a href='https://blog.nikc.org/2015/09/'>September 2015</a> (3)</li><li><a href='https://blog.nikc.org/2015/08/'>August 2015</a> (2)</li><li><a href='https://blog.nikc.org/2015/05/'>May 2015</a> (2)</li><li><a href='https://blog.nikc.org/2015/04/'>April 2015</a> (1)</li><li><a href='https://blog.nikc.org/2015/03/'>March 2015</a> (2)</li><li><a href='https://blog.nikc.org/2015/02/'>February 2015</a> (1)</li> </ul></li> <li class="collapsible"><a href="/2014/">2014</a> (5) <ul> <li><a href='https://blog.nikc.org/2014/11/'>November 2014</a> (3)</li><li><a href='https://blog.nikc.org/2014/08/'>August 2014</a> (1)</li><li><a href='https://blog.nikc.org/2014/07/'>July 2014</a> (1)</li> </ul></li> <li class="collapsible"><a href="/2013/">2013</a> (23) <ul> <li><a href='https://blog.nikc.org/2013/12/'>December 2013</a> (2)</li><li><a href='https://blog.nikc.org/2013/11/'>November 2013</a> (1)</li><li><a href='https://blog.nikc.org/2013/10/'>October 2013</a> (2)</li><li><a href='https://blog.nikc.org/2013/08/'>August 2013</a> (1)</li><li><a href='https://blog.nikc.org/2013/07/'>July 2013</a> (4)</li><li><a href='https://blog.nikc.org/2013/06/'>June 2013</a> (1)</li><li><a href='https://blog.nikc.org/2013/03/'>March 2013</a> (2)</li><li><a href='https://blog.nikc.org/2013/02/'>February 2013</a> (5)</li><li><a href='https://blog.nikc.org/2013/01/'>January 2013</a> (5)</li> </ul></li> <li class="collapsible"><a href="/2012/">2012</a> (15) <ul> <li><a href='https://blog.nikc.org/2012/12/'>December 2012</a> (1)</li><li><a href='https://blog.nikc.org/2012/09/'>September 2012</a> (3)</li><li><a href='https://blog.nikc.org/2012/07/'>July 2012</a> (1)</li><li><a href='https://blog.nikc.org/2012/06/'>June 2012</a> (2)</li><li><a href='https://blog.nikc.org/2012/05/'>May 2012</a> (3)</li><li><a href='https://blog.nikc.org/2012/02/'>February 2012</a> (2)</li><li><a href='https://blog.nikc.org/2012/01/'>January 2012</a> (3)</li> </ul></li> <li class="collapsible"><a href="/2011/">2011</a> (17) <ul> <li><a href='https://blog.nikc.org/2011/10/'>October 2011</a> (2)</li><li><a href='https://blog.nikc.org/2011/08/'>August 2011</a> (3)</li><li><a href='https://blog.nikc.org/2011/06/'>June 2011</a> (1)</li><li><a href='https://blog.nikc.org/2011/04/'>April 2011</a> (1)</li><li><a href='https://blog.nikc.org/2011/03/'>March 2011</a> (3)</li><li><a href='https://blog.nikc.org/2011/01/'>January 2011</a> (7)</li> </ul></li> <li class="collapsible"><a href="/2010/">2010</a> (19) <ul> <li><a href='https://blog.nikc.org/2010/11/'>November 2010</a> (2)</li><li><a href='https://blog.nikc.org/2010/09/'>September 2010</a> (3)</li><li><a href='https://blog.nikc.org/2010/08/'>August 2010</a> (6)</li><li><a href='https://blog.nikc.org/2010/07/'>July 2010</a> (2)</li><li><a href='https://blog.nikc.org/2010/06/'>June 2010</a> (2)</li><li><a href='https://blog.nikc.org/2010/05/'>May 2010</a> (3)</li><li><a href='https://blog.nikc.org/2010/02/'>February 2010</a> (1)</li> </ul></li> <li class="collapsible"><a href="/2009/">2009</a> (114) <ul> <li><a href='https://blog.nikc.org/2009/12/'>December 2009</a> (3)</li><li><a href='https://blog.nikc.org/2009/11/'>November 2009</a> (2)</li><li><a href='https://blog.nikc.org/2009/10/'>October 2009</a> (12)</li><li><a href='https://blog.nikc.org/2009/09/'>September 2009</a> (9)</li><li><a href='https://blog.nikc.org/2009/08/'>August 2009</a> (3)</li><li><a href='https://blog.nikc.org/2009/07/'>July 2009</a> (2)</li><li><a href='https://blog.nikc.org/2009/06/'>June 2009</a> (15)</li><li><a href='https://blog.nikc.org/2009/05/'>May 2009</a> (12)</li><li><a href='https://blog.nikc.org/2009/04/'>April 2009</a> (15)</li><li><a href='https://blog.nikc.org/2009/03/'>March 2009</a> (10)</li><li><a href='https://blog.nikc.org/2009/02/'>February 2009</a> (10)</li><li><a href='https://blog.nikc.org/2009/01/'>January 2009</a> (21)</li> </ul></li> <li class="collapsible"><a href="/2008/">2008</a> (224) <ul> <li><a href='https://blog.nikc.org/2008/12/'>December 2008</a> (11)</li><li><a href='https://blog.nikc.org/2008/11/'>November 2008</a> (19)</li><li><a href='https://blog.nikc.org/2008/10/'>October 2008</a> (12)</li><li><a href='https://blog.nikc.org/2008/09/'>September 2008</a> (27)</li><li><a href='https://blog.nikc.org/2008/08/'>August 2008</a> (18)</li><li><a href='https://blog.nikc.org/2008/07/'>July 2008</a> (9)</li><li><a href='https://blog.nikc.org/2008/06/'>June 2008</a> (21)</li><li><a href='https://blog.nikc.org/2008/05/'>May 2008</a> (27)</li><li><a href='https://blog.nikc.org/2008/04/'>April 2008</a> (26)</li><li><a href='https://blog.nikc.org/2008/03/'>March 2008</a> (14)</li><li><a href='https://blog.nikc.org/2008/02/'>February 2008</a> (23)</li><li><a href='https://blog.nikc.org/2008/01/'>January 2008</a> (17)</li> </ul></li> <li class="collapsible"><a href="/2007/">2007</a> (561) <ul> <li><a href='https://blog.nikc.org/2007/12/'>December 2007</a> (18)</li><li><a href='https://blog.nikc.org/2007/11/'>November 2007</a> (26)</li><li><a href='https://blog.nikc.org/2007/10/'>October 2007</a> (41)</li><li><a href='https://blog.nikc.org/2007/09/'>September 2007</a> (27)</li><li><a href='https://blog.nikc.org/2007/08/'>August 2007</a> (67)</li><li><a href='https://blog.nikc.org/2007/07/'>July 2007</a> (20)</li><li><a href='https://blog.nikc.org/2007/06/'>June 2007</a> (46)</li><li><a href='https://blog.nikc.org/2007/05/'>May 2007</a> (43)</li><li><a href='https://blog.nikc.org/2007/04/'>April 2007</a> (46)</li><li><a href='https://blog.nikc.org/2007/03/'>March 2007</a> (60)</li><li><a href='https://blog.nikc.org/2007/02/'>February 2007</a> (64)</li><li><a href='https://blog.nikc.org/2007/01/'>January 2007</a> (103)</li> </ul></li> <li class="collapsible"><a href="/2006/">2006</a> (382) <ul> <li><a href='https://blog.nikc.org/2006/12/'>December 2006</a> (75)</li><li><a href='https://blog.nikc.org/2006/11/'>November 2006</a> (84)</li><li><a href='https://blog.nikc.org/2006/10/'>October 2006</a> (51)</li><li><a href='https://blog.nikc.org/2006/09/'>September 2006</a> (47)</li><li><a href='https://blog.nikc.org/2006/08/'>August 2006</a> (47)</li><li><a href='https://blog.nikc.org/2006/07/'>July 2006</a> (34)</li><li><a href='https://blog.nikc.org/2006/06/'>June 2006</a> (22)</li><li><a href='https://blog.nikc.org/2006/05/'>May 2006</a> (22)</li> </ul></li> </ul> </div> <div id="edentity" class="column wide"> <h3>e-Dentity</h3> <ul> <li><a href="http://nikc.org/galleries/" rel="me">Galleries</a></li> <li><a href="http://mediumgray.nikc.org/" rel="me">Photo blog</a></li> <li><a href="http://www.flickr.com/photos/nikcorg/" rel="me">Flickr</a></li> <li><a href="http://delicious.com/nikcorg/" rel="me">Delicious</a></li> <li><a href="http://www.google.com/reader/shared/09801701861807104044" rel="me">Shared Reading</a></li> <li><a href="http://facebook.com/nikcorg/" rel="me">Facebook</a></li> <li><a href="http://twitter.com/nikcorg/" rel="me">Twitter</a></li> <li><a href="http://www.qaiku.com/home/nikc/" rel="me">Qaiku</a></li> <li><a href="http://www.last.fm/user/nikcorg" rel="me">Last.fm</a></li> <li><a href="http://www.google.com/profiles/niklas.lindgren" rel="me">Google profile</a></li> <li><a href="http://fi.linkedin.com/in/niklaslindgren" rel="me">LinkedIn</a></li> <li><a href="http://github.com/nikcorg" rel="me">GitHub</a></li> <li><a href="http://nikc.org/+" rel="me">Google+</a></li> </ul> </div> <div id="license" class="column wide"> <p class="alignright"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/" title="Creative Commons Attribution-Noncommercial-Share Alike" rel="license">(cc) some rights reserved</a> | powered by <a href="http://wordpress.org/">Wordpress</a></p> </div> <div id="wpfooter" class="column wide"> <script type="text/javascript"> window.WPCOM_sharing_counts = {"https:\/\/blog.nikc.org\/2007\/08\/15\/rikkinainen-muttei-kuitenkaan\/":862}; </script> <script type="text/javascript" src="https://stats.wp.com/e-202416.js" id="jetpack-stats-js" data-wp-strategy="defer"></script> <script type="text/javascript" id="jetpack-stats-js-after"> /* <![CDATA[ */ _stq = window._stq || []; _stq.push([ "view", JSON.parse("{\"v\":\"ext\",\"blog\":\"1077667\",\"post\":\"862\",\"tz\":\"3\",\"srv\":\"blog.nikc.org\",\"j\":\"1:13.3.1\"}") ]); _stq.push([ "clickTrackerInit", "1077667", "862" ]); /* ]]> */ </script> <script type="text/javascript" id="sharing-js-js-extra"> /* <![CDATA[ */ var sharing_js_options = {"lang":"en","counts":"1","is_stats_active":"1"}; /* ]]> */ </script> <script type="text/javascript" src="https://blog.nikc.org/wp-content/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js?ver=13.3.1" id="sharing-js-js"></script> <script type="text/javascript" id="sharing-js-js-after"> /* <![CDATA[ */ var windowOpen; ( function () { function matches( el, sel ) { return !! ( el.matches && el.matches( sel ) || el.msMatchesSelector && el.msMatchesSelector( sel ) ); } document.body.addEventListener( 'click', function ( event ) { if ( ! event.target ) { return; } var el; if ( matches( event.target, 'a.share-facebook' ) ) { el = event.target; } else if ( event.target.parentNode && matches( event.target.parentNode, 'a.share-facebook' ) ) { el = event.target.parentNode; } if ( el ) { event.preventDefault(); // If there's another sharing window open, close it. if ( typeof windowOpen !== 'undefined' ) { windowOpen.close(); } windowOpen = window.open( el.getAttribute( 'href' ), 'wpcomfacebook', 'menubar=1,resizable=1,width=600,height=400' ); return false; } } ); } )(); var windowOpen; ( function () { function matches( el, sel ) { return !! ( el.matches && el.matches( sel ) || el.msMatchesSelector && el.msMatchesSelector( sel ) ); } document.body.addEventListener( 'click', function ( event ) { if ( ! event.target ) { return; } var el; if ( matches( event.target, 'a.share-twitter' ) ) { el = event.target; } else if ( event.target.parentNode && matches( event.target.parentNode, 'a.share-twitter' ) ) { el = event.target.parentNode; } if ( el ) { event.preventDefault(); // If there's another sharing window open, close it. if ( typeof windowOpen !== 'undefined' ) { windowOpen.close(); } windowOpen = window.open( el.getAttribute( 'href' ), 'wpcomtwitter', 'menubar=1,resizable=1,width=600,height=350' ); return false; } } ); } )(); var windowOpen; ( function () { function matches( el, sel ) { return !! ( el.matches && el.matches( sel ) || el.msMatchesSelector && el.msMatchesSelector( sel ) ); } document.body.addEventListener( 'click', function ( event ) { if ( ! event.target ) { return; } var el; if ( matches( event.target, 'a.share-linkedin' ) ) { el = event.target; } else if ( event.target.parentNode && matches( event.target.parentNode, 'a.share-linkedin' ) ) { el = event.target.parentNode; } if ( el ) { event.preventDefault(); // If there's another sharing window open, close it. if ( typeof windowOpen !== 'undefined' ) { windowOpen.close(); } windowOpen = window.open( el.getAttribute( 'href' ), 'wpcomlinkedin', 'menubar=1,resizable=1,width=580,height=450' ); return false; } } ); } )(); /* ]]> */ </script> </div> </div> </div> <script type="text/javascript" charset="utf-8"> LightBoxer({ dimmerColor: '#000', requireRelAttribute: false, throbberSrc: '/wp-content/themes/dnb_v2/pics/throbber.gif' }).autoSetup(); </script> </body> </html> <!-- Comet Cache is NOT caching this page, because `$_GET` contains query string data. The current configuration says NOT to cache GET requests with a query string. -->