TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ruslan Kogan: Improve your website

2 pointsby nathanhoadalmost 14 years ago

1 comment

gbrindisialmost 14 years ago
This site has the weirdest anti-copy system I've ever see.<p>I noticed because I usualy browse with javascript disabled. Have a look at the source:<p><pre><code> &#60;style type="text/css"&#62; @media print { .u972bf{position:absolute;text-indent:-10000px;display:none}.y34{position:absolute;text-indent:-10000px;display:none}.r834db{position:absolute;text-indent:-10000px;display:none} } &#60;/style&#62; &#60;div style="position:absolute;top:0px;left:0px;background-color:#f0f0f0;z-index:100"&#62;&#60;/div&#62; &#60;noscript&#62; .u972bf{position:relative;text-indent:-10000px;}.y34{position:relative;text-indent:-10000px;}.r834db{position:relative;text-indent:-10000px;}&#60;style type="text/css"&#62;#noscriptmessage{display:block !important } .width_646.column_left{display:none}&#60;/style&#62; &#60;/noscript&#62; </code></pre> And that's the mess behind the text:<p><pre><code> &#60;p&#62;&#60;i class="r834db"&#62;to &#60;/i&#62;If &#60;i class="y34"&#62;&#38;copy;afr.com &#60;/i&#62;I &#60;span class="y34"&#62;&#38;copy;afr.com &#60;/span&#62;&#60;span class="u972bf"&#62;Based &#60;/span&#62;had &#60;span class="y34"&#62;&#38;copy;afr.com &#60;/span&#62;&#60;span class="r834db"&#62; &#60;/span&#62;&#60;i class="r834db"&#62;accustomed &#60;/i&#62;&#60;b class="u972bf"&#62;and &#60;/b&#62;&#60;span class="e218f"&#62;$1&#60;/span&#62; </code></pre> Should this be an example of "how to improve a website"?
评论 #2845156 未加载