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.

Website mistakes that are easily fixed

79 pointsby lauriswtfalmost 12 years ago

20 comments

jakub_galmost 12 years ago
I particularly hate when someone does things like (1)<p><pre><code> &lt;a href=&quot;navigateToFoo()&quot;&gt; </code></pre> when it should be<p><pre><code> &lt;a href=&quot;foo.htm&quot;&gt; </code></pre> so I can&#x27;t middle click it or Ctrl-click it to open in a new tab. Even worse if there&#x27;s (2)<p><pre><code> href=&quot;#&quot; </code></pre> added, which upon middle click will happily load the page I&#x27;m currently on inside the new tab.<p>I have an extension in Firefox which changes the mouse cursor for (1) from pointer (hand), so I can easily distinguish that case, I hope this became a W3C standard somehow (though the standard way for executing JS are buttons, not anchors, so probably it won&#x27;t ever become standardized).
评论 #5883391 未加载
评论 #5882884 未加载
zalewalmost 12 years ago
&gt; There can be a whole list of languages in the Accept-Language header, in the order the user prefers them! Use that data, it&#x27;s there for you to use.<p>Yet it takes only jumping a plane for a few hours to get Google to think I can and want to read Georgian. Google&#x27;s i18n for anonymous users (I&#x27;m not logged in on my phone&#x27;s browser) is the most ridiculous I&#x27;ve experienced, every border I cross I get a different language.
评论 #5881260 未加载
评论 #5882595 未加载
评论 #5883191 未加载
评论 #5881437 未加载
gallerytungstenalmost 12 years ago
I&#x27;m really annoyed by those sites that insist on having a non-removable top bar overlaying the text. Because they break the page-down key. You page down, but part of the unread text scoots under the top bar. Arrrg.
评论 #5882847 未加载
评论 #5883284 未加载
评论 #5882915 未加载
评论 #5883053 未加载
Domenic_Salmost 12 years ago
Here&#x27;s one he missed: your &quot;country&quot; dropdown has a list of every country in existence, alphabetically. So for the US you have to scroll down to near the end of the list past hundreds of other countries.<p>Instead, put your audience up top (Canada, US, GB maybe) and then alphabetically list the rest.
评论 #5882855 未加载
评论 #5882846 未加载
评论 #5882796 未加载
评论 #5882606 未加载
yogoalmost 12 years ago
Asking for city, state and zip code is my favorite on the list. Plus the country should be asked for first then if US only get the street and zip code.<p>There was a link on HN sometime ago that showed that people trusted the form&#x2F;page more when complete address information was requested (I believe the conclusion was that people were used to doing it that way) so maybe there is a downside to the shorter version.
评论 #5881177 未加载
评论 #5881854 未加载
评论 #5880909 未加载
durkiealmost 12 years ago
godamn credit card forms! those get me the most because we&#x27;re at the moment where i&#x27;m trying to give you money, and they pull some passive-aggressive bullshit like limiting the field length to 16 characters.<p>i can <i>almost</i> type in my whole card number, but then i can go no further and i have to manually go back and remove all the spaces and then go to the end of the number and enter the last digit. class act.
评论 #5882600 未加载
joshuahedlundalmost 12 years ago
&gt; &lt;input type=&quot;radio&quot; name=&quot;fruit&quot; id=&quot;banana&quot; &#x2F;&gt;&lt;label for=&quot;banana&quot;&gt;Banana&lt;&#x2F;label&gt;<p>Slightly pedantic, but it&#x27;s even easier than that if you don&#x27;t have any elements separating them - you don&#x27;t even need the id:<p>&gt; &lt;label&gt;&lt;input type=&quot;radio&quot; name=&quot;fruit&quot; &#x2F;&gt; Banana&lt;&#x2F;label&gt;<p>This adds convenience on desktop, but it&#x27;s really annoying not to have it on smaller mobile screens.
评论 #5883029 未加载
评论 #5883482 未加载
wiradikusumaalmost 12 years ago
Accept-Language header is not reliable esp for non-English speaking countries. Many computers&#x2F;browsers are by default EN, esp if the O&#x2F;S doesn&#x27;t support local language.<p>For example, Indonesians speak and read Bahasa all the time, but most browsers there report EN.
gioelealmost 12 years ago
WRT language selection and availability, I developed a small Rack gem `i18n_best_langs` that could be useful to web devs.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;gioele&#x2F;rack-i18n_best_langs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gioele&#x2F;rack-i18n_best_langs</a><p>It picks up clues from various HTTP pieces (headers, URI) and generates a list of locales in order of possible user preference. It is then up to the web application to make good use of this list of preferences.<p>It is alpha quality but I would love some criticism about it from HN readers.
mwcampbellalmost 12 years ago
I&#x27;m glad I&#x27;m not the only one who&#x27;s anal about redirecting to the canonical host name. Now, let the bike-shedding begin: should the canonical host name be www.foo.com or foo.com?
评论 #5882713 未加载
评论 #5882856 未加载
评论 #5883430 未加载
评论 #5882522 未加载
mehulkaralmost 12 years ago
At the end of the day, it&#x27;s never about what we <i>can</i> do, it&#x27;s what we can do within the budget and time that we think is appropriate for what we want to do.
jakub_galmost 12 years ago
One more thing that&#x27;s been getting a lot of traction recently is CSS transitions. Some devs are using them for hell everything, because they can. When it&#x27;s too much of it, it feels like old shiny GIFs whenever you change the zoom level of the text.<p>I&#x27;ve saved in bookmarks one page that made my eyes bleed due to it, but I don&#x27;t have access to it right now. Stay tuned, I&#x27;ll post it on Monday :)
thehmealmost 12 years ago
I specially agree with the &quot;Download the app now&quot; messages. I hate those because I know how to look those up if I really want to, so just let me get to what I came to this site for.
评论 #5883477 未加载
jiggy2011almost 12 years ago
I don&#x27;t mind the flags thing, yes I sometimes roll my eyes when I have to hit the stars and stripes for &quot;english&quot;, but I can spot it or a union jack out of a set of flag pictures faster than I can find the word &quot;english&quot;.<p>You also have the case of foreign users on public computers who may be unable to fiddle with the language settings.
franzwongalmost 12 years ago
User are afraid to set any browser setting. It would be better for them to choose the language through web page.<p>You should also consider user may not be able to switch the language of a public computer. The setting may be locked, or the operating system is in another language, e.g. Chinese, user doesn&#x27;t even know where the &quot;setting&quot; button is.
yareallyalmost 12 years ago
I didn&#x27;t see it listed so far, but checkout forms that require you to select the type of credit card you have. Since the card (Mastercard, Visa, Discover, AMEX) can be determined by the first digit.<p>I don&#x27;t see too many sites that require something like this anymore, but every now and then one pops up.
itsybitsycoderalmost 12 years ago
I absolutely hate it when I&#x27;m paying with Paypal and you make me enter my shipping address. It&#x27;s not only a waste of time, but if I have to type in something over and over for every order, it&#x27;s much more likely I&#x27;ll make a mistake than if I only have to do it once through the Paypal site.
kmfrkalmost 12 years ago
You can also address multiple languages with hreflang: <a href="http:&#x2F;&#x2F;googlewebmastercentral.blogspot.hk&#x2F;2013&#x2F;04&#x2F;x-default-hreflang-for-international-pages.html" rel="nofollow">http:&#x2F;&#x2F;googlewebmastercentral.blogspot.hk&#x2F;2013&#x2F;04&#x2F;x-default-...</a>.
gambleralmost 12 years ago
So true. It&#x27;s frustrating to see people spend hundreds of hours to advance some &quot;fringe&quot; web technologies that don&#x27;t really affect much in the end, while stuff that we use every day, everywhere continues to have the same (solvable) issues year after year.
hobb0001almost 12 years ago
Regarding the title of his article, as a someone who routinely uses TCP&#x2F;IP for tasks other than transmitting HTML, I find his concept of &quot;internet&quot; to be rather myopic.
评论 #5881654 未加载
评论 #5882370 未加载