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.

Url.js – A lightweight JavaScript library to manipulate the page url

3 pointsby ionicabizauover 10 years ago

1 comment

NicoJuicyover 10 years ago
This would be cleaner then the current way i&#x27;m using :P<p>(url.indexOf(&quot;?&quot;) &gt;= 0 ? url + &quot;&amp;&quot; , url + &quot;?&quot; ) + parameters