TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

L(O*62).ONG: Make your URL longer

301 点作者 lnyan12 个月前

41 条评论

ccbikai12 个月前
I am the author, I wanted to publish it myself, I didn&#x27;t expect you had already published it. Thank you very much.<p>Encountered quite a few problems during the deployment, mainly related to HTTPS certificates.<p>The longest segment of a domain name is 63 characters. The maximum length of an HTTPS certificate commonName is 64 characters.<p>This caused Cloudflare, Vercel, and Netlify to be unable to use Let&#x27;s Encrypt to sign HTTPS certificates (because they used the domain name as the commonName), but Zeabur can use Let&#x27;s Encrypt to sign HTTPS certificates.<p>Finally, the Cloudflare certificate was switched to Google Trust Services LLC to successfully sign.<p>Related certificates can be viewed at <a href="https:&#x2F;&#x2F;crt.sh&#x2F;?q=loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo.ong" rel="nofollow">https:&#x2F;&#x2F;crt.sh&#x2F;?q=looooooooooooooooooooooooooooooooooooooooo...</a>
评论 #40558528 未加载
评论 #40544327 未加载
评论 #40543797 未加载
评论 #40564310 未加载
评论 #40561436 未加载
评论 #40560122 未加载
zer00eyz12 个月前
I hate how good this is.<p>Here: (literally) <a href="https:&#x2F;&#x2F;loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo.ong&#x2F;loooooooooOOoOooooooooooooOOOoOoooooooooooOOOoOoooooooooooOOOoooooooooooooOOOooOOooooooooooOOOoOoooooooooooOoOOOOooooooooooOoOOOOoooooooooOOoOOOooooooooooOOooOoOoooooooooOOOoOOOoooooooooOOOooOOooooooooooOoOOOooooooooooOOOOooOoooooooooOOoooOOoooooooooOOoOOOOoooooooooOOoOOoOoooooooooOOoooOooooooooooOOoOooOoooooooooOOoOOOooooooooooOOooooOoooooooooOOOoOoooooooooooOOoOOOOoooooooooOOOooOoooooooooooOoOOOooooooooooOOoooOOoooooooooOOoOOOOoooooooooOOoOOoOooooooooooOoOOOOoooooooooOOoOooOoooooooooOOOoOoooooooooooOOooOoOoooooooooOOoOOoOooooooooooOOOOOOoooooooooOOoOooOoooooooooOOooOooooooooooooOOOOoOooooooooooOOoOooooooooooooOOooooooooooooooOOoOoOooooooooooOOoOooooooooooooOOooOOooooooooooOOoooOooooooooooOOOooOooooooooooOOoOOong" rel="nofollow">https:&#x2F;&#x2F;looooooooooooooooooooooooooooooooooooooooooooooooooo...</a>
评论 #40558486 未加载
评论 #40543771 未加载
评论 #40562190 未加载
AbraKdabra12 个月前
There should be a label telling people they need the protocol first, as soon as I entered I wrote &quot;google.com&quot; and nothing happened, confused me for a bit and thought there was something broken or maybe it was a victim of a HN hug.
评论 #40558351 未加载
评论 #40559488 未加载
评论 #40557907 未加载
评论 #40557942 未加载
w-ll12 个月前
I made something similar to make links look &quot;sketchy&quot;<p>will probably break any auto linking stuff but should work if copy&amp;pasted or properly linked<p><pre><code> https:&#x2F;&#x2F;sketchylinkasdf.com&#x2F;ssl_webmaster.zip&#x2F;qwerty&#x2F;&lt;IMG SRC=&quot;javascript:alert(&#x27;XSS&#x27;)&quot;&#x2F;a95a33ab-9f0d-4f64-9cf3-a80d48593de0</code></pre>
评论 #40559116 未加载
评论 #40558471 未加载
评论 #40562571 未加载
评论 #40558059 未加载
myself24812 个月前
A company called Halibut Stuff used to sell T-shirts that came with free email forwarding.<p>I was myself@iwenttodefcon7.andalligotwas.thislousyemailaddress.com<p>It broke a LOT of signup forms.<p>I was working in software testing at the time and we talked about setting up a &quot;likely to break things&quot; email service and selling it to other testers, but realized that the people who&#x27;d need it would find it hard to explain to the people who write the checks.
评论 #40563234 未加载
joshmanders12 个月前
I love how you encode the url as binary then replace the 0&#x27;s and 1&#x27;s with O&#x27;s and o&#x27;s. This is genius.
评论 #40557064 未加载
rrr_oh_man12 个月前
The seemingly required <a href="https:&#x2F;&#x2F;" rel="nofollow">https:&#x2F;&#x2F;</a> should be prefilled in the form
评论 #40544146 未加载
评论 #40557857 未加载
评论 #40557716 未加载
andersa12 个月前
Am I having a stroke? I am 100% certain I saw this exact topic with these exact comments yesterday, but here we are with all of them saying they&#x27;re from 5 hours ago.
评论 #40557137 未加载
评论 #40557176 未加载
jan_Sate12 个月前
Be wary with making this kind of website. I made something similar long time ago (urllengthener.sadale.net) and got my site reported for &quot;spam campaign&quot;. Turns out that the spammer was abusing my site to generate spam link. I handled that promptly by shutting down my site and didn&#x27;t receive any penalty for that.<p>The way how it worked is that the spammer used my urllengthener as a redirection service to a website that looks like an incomplete project, which is actually a disguise. There&#x27;s javascript code on their site that if there&#x27;s a URL fragment identifier (the hash thingie postfix for URL) detection mechanism and if the URL fragment identifier matches an ad of their own, it&#x27;d redirect to the actual spam ad.<p>Let&#x27;s say the spammer owns example.org. The spammer would generate link with my service such that <a href="https:&#x2F;&#x2F;urllengthener.sadale.net&#x2F;foobarbaz" rel="nofollow">https:&#x2F;&#x2F;urllengthener.sadale.net&#x2F;foobarbaz</a> would redirect to <a href="https:&#x2F;&#x2F;example.org" rel="nofollow">https:&#x2F;&#x2F;example.org</a>. Then it&#x27;d send spam with a link of <a href="https:&#x2F;&#x2F;urllengthener.sadale.net&#x2F;foobarbaz#identifierXYZ" rel="nofollow">https:&#x2F;&#x2F;urllengthener.sadale.net&#x2F;foobarbaz#identifierXYZ</a> to the victim. Then the victim would click on the link, which redirects him to <a href="https:&#x2F;&#x2F;example.org&#x2F;#identifierXYZ" rel="nofollow">https:&#x2F;&#x2F;example.org&#x2F;#identifierXYZ</a>, which would show victim the ad. <a href="https:&#x2F;&#x2F;example.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;example.org&#x2F;</a> looks legit on its own and there is no log shown on the HTTP server because the URL fragment identifier is a client-side thing. I&#x27;m kind of thankful of that spam abuse report. Otherwise I might have never found out.<p>(Remarks: example.org isn&#x27;t the actual spam site. I just use this domain name as an example.)<p>I don&#x27;t have the time for now but I think I should make a write up about that some time later.<p>And I&#x27;ve tested your service and apparently your site is vulnerable for the exact same kind of abuse as mine. I&#x27;d strongly recommend you to at least disabling redirection of URL fragment identifier. Example of URL that&#x27;s prone to abuse: <a href="https:&#x2F;&#x2F;loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo.ong&#x2F;loooooooooOOoOooooooooooooOOOoOoooooooooooOOOoOoooooooooooOOOoooooooooooooOOOooOOooooooooooOOOoOoooooooooooOoOOOOooooooooooOoOOOOoooooooooOOooOoOoooooooooOOOOooooooooooooOOooooOoooooooooOOoOOoOoooooooooOOOoooooooooooooOOoOOoooooooooooOOooOoOooooooooooOoOOOooooooooooOOoOOOOoooooooooOOOooOooooooooooOOooOOOooooooooooOoOOOOng#test" rel="nofollow">https:&#x2F;&#x2F;looooooooooooooooooooooooooooooooooooooooooooooooooo...</a>
评论 #40556994 未加载
评论 #40544313 未加载
评论 #40557688 未加载
0x00cl12 个月前
Wouldn&#x27;t it be possible to use subdomains to make it _looonger_?<p>From my understanding the domain could be 255 characters long.<p><a href="https:&#x2F;&#x2F;a.lot.looooooooo(...)nger.than.looooooooo(...).ng" rel="nofollow">https:&#x2F;&#x2F;a.lot.looooooooo(...)nger.than.looooooooo(...).ng</a>
评论 #40557205 未加载
crazygringo12 个月前
This is one of the dumbest things I&#x27;ve come across in a long time.<p>I absolutely love it.
neillyons12 个月前
Linked in the footer of that website is <a href="https:&#x2F;&#x2F;llili.li&#x2F;" rel="nofollow">https:&#x2F;&#x2F;llili.li&#x2F;</a>. Even better!
longerd212 个月前
<a href="https:&#x2F;&#x2F;loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo.ong&#x2F;loooooooooOOoOoOooooooooooOOooooOoooooooooOOOoOOooooooooooOOooooOoooooooooOOOooOOoooooooooOOoooOOoooooooooOOOooOooooooooooOOoOooOoooooooooOOOoooooooooooooOOOoOooooooooooooOOOoOooooooooooOOooooOoooooooooOOoOOoooooooooooOOooOoOoooooooooOOOooOooooooooooOOOoOooooooooooooOoOoooooooooooooOoOooOng" rel="nofollow">https:&#x2F;&#x2F;looooooooooooooooooooooooooooooooooooooooooooooooooo...</a>
Zambyte12 个月前
<a href="https:&#x2F;&#x2F;loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo.ong&#x2F;loooooooooOOoOooooooooooooOOOoOoooooooooooOOOoOoooooooooooOOOoooooooooooooOOOooOOooooooooooOOOoOoooooooooooOoOOOOooooooooooOoOOOOoooooooooOOoOOOooooooooooOOooOoOoooooooooOOOoOOOoooooooooOOOooOOooooooooooOoOOOooooooooooOOOOooOoooooooooOOoooOOoooooooooOOoOOOOoooooooooOOoOOoOoooooooooOOoooOooooooooooOOoOooOoooooooooOOoOOOooooooooooOOooooOoooooooooOOOoOoooooooooooOOoOOOOoooooooooOOOooOoooooooooooOoOOOooooooooooOOoooOOoooooooooOOoOOOOoooooooooOOoOOoOooooooooooOoOOOOoooooooooOOoOooOoooooooooOOOoOoooooooooooOOooOoOoooooooooOOoOOoOooooooooooOOOOOOoooooooooOOoOooOoooooooooOOooOooooooooooooOOOOoOooooooooooOOoOooooooooooooOOooooooooooooooOOoOoOooooooooooOOoOoOooooooooooOOoOOOooooooooooOOooOoooooooooooOOOoooooooooooooOOooOOng" rel="nofollow">https:&#x2F;&#x2F;looooooooooooooooooooooooooooooooooooooooooooooooooo...</a>
kelseydh12 个月前
This feels about as long as any link Facebook adds with the appended `fbcid=` url parameter.
评论 #40560502 未加载
tcsenpai12 个月前
I didn&#x27;t know I needed this until I actually saw this.<p><a href="https:&#x2F;&#x2F;loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo.ong&#x2F;loooooooooOOoOooooooooooooOOOoOoooooooooooOOOoOoooooooooooOOOoooooooooooooOOOooOOooooooooooOOOoOoooooooooooOoOOOOooooooooooOoOOOOoooooooooOOOooOOoooooooooOOOoooooooooooooOOooooOoooooooooOOoooOOoooooooooOOooOoOooooooooooOoOOOooooooooooOOOoOoooooooooooOOoooOOoooooooooOOOooOOoooooooooOOooOoOoooooooooOOoOOOooooooooooOOOoooooooooooooOOooooOoooooooooOOoOooOooooooooooOoOOOooooooooooOOoooOOoooooooooOOoOOOOoooooooooOOoOOoOooooooooooOoOOOOng" rel="nofollow">https:&#x2F;&#x2F;looooooooooooooooooooooooooooooooooooooooooooooooooo...</a>
renegat0x012 个月前
Some pages do not require your services (already quite long)<p><a href="https:&#x2F;&#x2F;httpscolonforwardslashforwardslashwwwdotzoltanbalazsdotcom.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;httpscolonforwardslashforwardslashwwwdotzoltanbalazs...</a><p><a href="https:&#x2F;&#x2F;aaaaaaaaaa.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aaaaaaaaaa.org&#x2F;</a><p><a href="http:&#x2F;&#x2F;thebestpageintheuniverse.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;thebestpageintheuniverse.net&#x2F;</a><p><a href="http:&#x2F;&#x2F;bettermotherfuckingwebsite.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;bettermotherfuckingwebsite.com&#x2F;</a>
评论 #40558816 未加载
评论 #40556829 未加载
评论 #40557006 未加载
mindaslab12 个月前
<a href="https:&#x2F;&#x2F;loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo.ong&#x2F;loooooooooOOoOooooooooooooOOOoOoooooooooooOOOoOoooooooooooOOOoooooooooooooOOOooOOooooooooooOOOoOoooooooooooOoOOOOooooooooooOoOOOOoooooooooOOOOooOoooooooooOOOoOoOooooooooooOOoOOOooooooooooOoOOOooooooooooOOoOooOoooooooooOOoOOOoooooooooooOoOOOOng" rel="nofollow">https:&#x2F;&#x2F;looooooooooooooooooooooooooooooooooooooooooooooooooo...</a><p>:D
logrot12 个月前
Being a Chinese entity, is it censored?<p><a href="https:&#x2F;&#x2F;loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo.ong&#x2F;loooooooooOOoOooooooooooooOOOoOoooooooooooOOOoOoooooooooooOOOoooooooooooooOOOooOOooooooooooOOOoOoooooooooooOoOOOOooooooooooOoOOOOoooooooooOOooOoOoooooooooOOoOOOoooooooooooOoOOOooooooooooOOoOOoOooooooooooOoOOOooooooooooOOOoOOOoooooooooOOoOooOoooooooooOOoOoOOoooooooooOOoOooOoooooooooOOOoooooooooooooOOooOoOoooooooooOOooOoooooooooooOOoOooOoooooooooOOooooOooooooooooOoOOOooooooooooOOoOOOOoooooooooOOOooOooooooooooOOooOOOooooooooooOoOOOOoooooooooOOOoOOOoooooooooOOoOooOoooooooooOOoOoOOoooooooooOOoOooOooooooooooOoOOOOooooooooooOOoooOooooooooooOOOooOooooooooooOOOoooooooooooooOOOooOoooooooooOoOOOOOoooooooooOoOoOoooooooooooOOoOooOoooooooooOOooooOoooooooooOOoOOOooooooooooOOooooOoooooooooOOoOOOooooooooooOOoOOoOoooooooooOOooOoOoooooooooOOoOOOooooooooooOoOOOOOoooooooooOoOooOOoooooooooOOOoooOoooooooooOOOoOoOoooooooooOOooooOoooooooooOOOooOooooooooooOOooOoOoooooooooOoOOOOOoooooooooOOOoooooooooooooOOOooOooooooooooOOoOOOOoooooooooOOOoOoooooooooooOOooOoOoooooooooOOOooOOoooooooooOOOoOoooooooooooOOOooOOoooooooooOoOOOOOoooooooooOOooooOoooooooooOOoOOOooooooooooOOooOoooooooooooOoOOOOOoooooooooOOoOOoOoooooooooOOooooOoooooooooOOOooOOoooooooooOOOooOOoooooooooOOooooOoooooooooOOoooOOoooooooooOOOooOooooooooooOOooOoOng" rel="nofollow">https:&#x2F;&#x2F;looooooooooooooooooooooooooooooooooooooooooooooooooo...</a>
aendruk12 个月前
.ong is intended for “organisations non gouvernementale” and the main difference from .org is that proof of actual NGO status is required.
评论 #40558042 未加载
评论 #40558297 未加载
评论 #40557319 未加载
omoikane12 个月前
This reminds me of hugeurl, which disappeared around 2014:<p><a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20140208032349&#x2F;http:&#x2F;&#x2F;hugeurl.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20140208032349&#x2F;http:&#x2F;&#x2F;hugeurl.co...</a>
moritzwarhier12 个月前
<a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=true&amp;query=lengthener&amp;sort=byPopularity&amp;type=story" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=true&amp;que...</a>
jaredliu23312 个月前
Interesting technical details on the challenges of using long domain names and HTTPS certificates. The author seems to have found a workaround, though potential abuse is a valid concern. I wonder if there are any plans to address that.
signaru12 个月前
It is possible use &quot;recursion&quot; to create a 20kb long URL, which would be blocked by HN for being too long. Some browsers might not support it though.
Uptrenda12 个月前
We should just use URLs to store our files. Amirightguise?
评论 #40560552 未加载
TimLeland12 个月前
What about making your URLs super short??<p><a href="https:&#x2F;&#x2F;t.ly&#x2F;" rel="nofollow">https:&#x2F;&#x2F;t.ly&#x2F;</a>
评论 #40566522 未加载
Dwedit12 个月前
There used to be a URL redirection service called HugeURL. Your URLs were extremely long.
ceving12 个月前
Why would you want to do this? It seems to me like cutting yourself.
评论 #40561990 未加载
cush12 个月前
Similar to the small web, I equally love the silly web. Good job!
terrycody12 个月前
Except for fun maybe, whats the use case of this thing though?
tamimio12 个月前
Can’t wait to be abused by scammers and phishing attacks.
评论 #40557924 未加载
jhoechtl12 个月前
Why? Because you can or what&#x27;s the use case?
评论 #40561439 未加载
评论 #40560801 未加载
dmitshur12 个月前
long → short<p><a href="https:&#x2F;&#x2F;loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo.ong&#x2F;loooooooooOOoOooooooooooooOOOoOoooooooooooOOOoOoooooooooooOOOoooooooooooooOOOooOOooooooooooOOOoOoooooooooooOoOOOOooooooooooOoOOOOoooooooooOOOOoooooooooooooOoOOOooooooooooOOoooOOoooooooooOOoOOOOoooooooooOOoOOoOooooooooooOoOOOOng" rel="nofollow">https:&#x2F;&#x2F;looooooooooooooooooooooooooooooooooooooooooooooooooo...</a>
elwell12 个月前
URL longerer
heyest12 个月前
This is awesome thanks!
optimalsolver12 个月前
URL too beacoup.
jdthedisciple12 个月前
magick.css in the wild - nice!
hiergiltdiestfu12 个月前
cool! strong lmgtfy-vibes :D
mdrewry12 个月前
this is actually really funny
asplake12 个月前
Or: how to ruin hckrnews on mobile (Safari, anyway)
DrMiaow12 个月前
This will be abused. A fun idea that seems harmless until you realize that grifters will use it to obfuscate their grifty payloads.
评论 #40559440 未加载