12 ms·
DuckDuckGo – two non-JavaScript versions of search results
- WrtCdEvrydy 6y agoThis is awesome... I was always pushing for non-JS versions of products and was always met with the dumbest reasons... 'the only reason someone wouldn't run JS is if they're hacking'
- standardUser 6y agoTo be fair, disabling JS seems to be an extremely fringe thing to do and using resources to accommodate it should be a hard sell. I've only ever actually heard of people doing it here on HN.
- newsbinator 6y agoI take that a step further and push for non-CSS and non-HTML versions as well. People should be able to get all the info they need via curl in the terminal. HTML and CSS are too easy to exploit for tracking users.
- bnj 6y agoThese seem ... preferable, to me?
- metalliqaz 6y agothe 'html' version is nice. the 'lite' version is so barebones, I can't imagine anyone actually using it. It almost seems like it's meant for scraping
- junippor 6y agoI've used the lite version for years.
- bombcar 6y agoThe lite version reminds me of the original Google search results.
- alpha_squared 6y agoHave you ever been in a part of the world where internet speeds were abysmal?
- jacobmischka 6y agoI imagine it would be handy on an absolutely abysmal connection or one with data limits.
- zelphirkalt 6y agoIt is so fast and clean, I just set it as my duck keyworded search. I'm not on a search engine for the looks, but for the results. The faster I get them and the fewer things there are to distract the eye, the better for me.
- lame-robot-hoax 6y agoThe lite and HTML versions are identical in speed for me. If I had really slow internet though, maybe I’d see a difference. The JS version is maybe a tiny bit slower, but honestly is about the same.
- MarkLowenstein 6y agoA guy at work made a no-frills search results viewer that was just a standard Windows UI ListView (table) window with one result per row. Best search page I ever saw, because you could see 40 results at a time instead of 10.
- deleted 6y ago[deleted]
- alcover 6y agoI use it day-to-day. No problem. As a rule, when JS is not mandatory I block it.
- dmix 6y agoI compared all 3 searching "venera" and prefer the JS one, (sorry?), but I could see this being useful for their niche audience very well. I worry more about tracking than JS in browsers, when it runs super fast on my devices. But TIL about DDG's awesome help pages.
- mikem170 6y agoTons of tracking happens via javascript dom calls. Lots of identifying information and analytics. Some web sites runs hundreds of scripts. I browse with javascript disabled, except for sites/domains that I exempt like banks and stuff.
- 1vuio0pswjnm7 6y agoI have never used any other versions but these two. Cannot imagine what the "full" DDG must be like. Slower, no doubt.
- Nextgrid 6y agoI wish I could set the "HTML" version as default in Safari. It's ~1.5s faster than the default JS version.
- chadlavi 6y agoSame, though looks like maybe it doesn't actually return the same results as the full site, which is really weird. All 3 front-end clients should show identical results.
- CivBase 6y agoI threw together some CSS for dark mode in the "HTML" version using values from the normal JavaScript version: https://gist.github.com/CivBase/818f7f4f56050c9769c4b783c08c8b75 https://gist.github.com/CivBase/818f7f4f56050c9769c4b783c08c... EDIT: I replaced the raw code with a link to a GitHub gist to reduce the obnoxious size of my post.
- jeduardo 6y agoJust tested the pure HTML version and was pleased to find out that it does not force a minimum browser width upon the user. I usually set my desktop (1080p) to use a 3-column layout with i3 and am always bothered by the fact that I cannot escape from horizontal scrolling on every search I run on DDG. I needed to add the HTML version as a new search engine option in the browser options to have it running as default, but hey, it works! Horizontal scrolling is now a thing of the past.
- dspillett 6y ago> not force a minimum browser width … 1080p … 3-column layout … cannot escape from horizontal scrolling I have my second monitor in 1920×1080 portrait and sometimes that is an irritation at 1080px wide long before getting to the 640px your columns have. To pick one example, in Google search pages you lose over half the right-hand column without scrolling (though at least the main results are fully visible). A lot of layouts seem to assume having around 1280 pixels to play with (less a little for scroll bars). I've found zooming out a little works fine usually, and modern browsers remember the setting, but that isn't perfect. If I unzoom on the main display it does so for tabs open on that site on the second too (to use the Google example again if I open maps or an image search on the main screen I probably want it at 100%) and some sites seem to actively resist being zoomed.
- jeduardo 6y agoIndeed, zooming out is a trick I use for a couple websites but even so it isn't perfect. I often face the situation where 80% size is still too big or brings the dreadful horizontal scroll but 70% ends up being too small and very hard to read. These and layouts that bring colour combinations that break in dark mode (browser native or dark reader) are my current bane.
- benhoyt 6y agoAs someone who's just written about the "small web" [1], this warms my heart. The lite version is probably a little too bare-bones for most people's tastes, but it sure is tiny -- great for people on very slow or flakey connections. Some numbers: HTML homepage transfers 34KB (94KB uncompressed) over 6 requests. HTML search results page transfers 133KB (248KB uncompressed) over 31 requests. Lite homepage transfers 13KB (11KB uncompressed, ha) over 4 requests. Lite search results page transfers 21KB (43KB uncompressed) over 5 requests. In all cases, all requests are to *.duckduckgo.com, which was very good to see from a privacy perspective. Nice work, DDG! [1] https://benhoyt.com/writings/the-small-web-is-beautiful/ https://benhoyt.com/writings/the-small-web-is-beautiful/
- boogies 6y agoThese are great, and I’m glad to be able to use them without direct contact with “Big Tech” and the tracking bloat that entails, but as I understand it DuckDuckGo is more or less a glorified — albeit relatively glorious and pleasant — proxy to Big Tech’s Bing (well, more, not less, because it does add some great conveniences like the IIUC formerly open source Instant Answers¹ and !bangs, and some fraction of results from its own crawler, and likely some from Yandex. But still, the largest fraction of its core service seems dependent on Bing. Not that that’s its fault or there are attractive alternatives). 1: (Edit) https://duckduckhack.com/ https://duckduckhack.com/
- benhoyt 6y agoYeah, I wonder what their long-term plan is there. Surely to get substantially better, they'll have to move off Bing at some point (or buy Bing off Microsoft!). In any case, as long as DDG is a "privacy-stripping proxy" (which I believe it is), it's just using Bing technology as a search API, which doesn't seem too problematic.
- boogies 6y agoI agree. Fortunately, to move off Bing doesn’t have to be a sudden flip of a binary switch. > DuckDuckGo gets its results from over four hundred sources. These include hundreds of vertical sources delivering niche Instant Answers, DuckDuckBot (our crawler) and crowd-sourced sites (like Wikipedia, stored in our answer indexes). We also of course have more traditional links in the search results, which we also source from multiple partners, though most commonly from Bing (and none from Google). — https://help.duckduckgo.com/duckduckgo-help-pages/results/sources/ https://help.duckduckgo.com/duckduckgo-help-pages/results/so... I find their instant answers fairly useful, enough to often not use the other results at all — unfortunately for them enough to use some of the sites some answers are sourced from directly, in particular often using my browsers’ built in Wikipedia searches. DuckDuckBot I can’t judge, because I don’t know which results come from it (previous comments on HN seem to show the amount of difference between DDG and Bings results vary between search terms¹), but it seems that non-Bing links are a thing and DDG can adjust what fraction of the page they take as whatever gap there is between them and the bigger crawlers’ narrows or widens. 1: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=duckduckgo.com%2F%3Fq%3D%20bing.com%2F&sort=byPopularity&type=comment https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
- wh33zle 6y agoThe HTML version seems to not redirect to a URL specific to your search (i.e. it doesn't include a ?s= ... parameter). Anyone an idea how I can configure this search engine in Firefox Mobile? As far as I can see, there is no way I can teach FF Mobile to make a POST request instead.
- howeyc 6y agoThe parameter is q https://html.duckduckgo.com/html/?q=searchstring https://html.duckduckgo.com/html/?q=searchstring
- johnx123-up 6y agoBut, they're using POST in the form
- encryptluks2 6y agoCan you please add a dark theme like your JS-based site? Just cause you don't use JS doesn't mean they can't use CSS.
- CodeHz 6y agoYou can achieve it without CSS actually (in chrome) Just put <meta name="color-scheme" content="light dark"> to <head> It will also make vanilla scrollbar into dark theme
- encryptluks2 6y agoThat is freaking awesome. I learned something new today and it is much simpler than trying to manage inverted colors in CSS.
- abhayhegde 6y agoYou could use the following in Style editor of browser (accessible via Inspect Console): html{ background-color: black !important; filter: invert(90%) hue-rotate(180deg) !important; }
- dellcybpwr 6y agoThe html version always returns results from a Russian POV. Russian dictionary sites, etc, etc. Turning on javascript returns sites from a USA POV. I'm in the USA.
- OminousWeapons 6y agoI agree that you do appear to see much more Russian language content if you use the DuckDuckGo html version (I am also an American).
- new_guy 6y agoThey're probably using the Yandex API https://yandex.com/dev/xml/doc/dg/concepts/about.html https://yandex.com/dev/xml/doc/dg/concepts/about.html
- aerovistae 6y agoHoly shit the lite version is fast. Comparing to google search it's not even close...wow.
- radicalriddler 6y agoI refreshed the lite version on a search, and didn't even realise when it refreshed...
- freediver 6y agoLooking at the network inspector, "lite" version search results load in about 900ms - 1.4sec for non-cached queries. That is fast only compared to the rest of the "big web" maybe, but not _that_ fast in absolute terms (and for context, Google full search results load in usually that much). The bottleneck for DuckDuckGo is probably the Bing API (usually 600-700ms response) for which there is no way around. If you want to see a fast web search engine try https://rightdao.com https://rightdao.com I am not affiliated with them in any way. But their search results come back at 70ms (with network latency included) and that is darn impressive!
- Semaphor 6y ago740ms for a new search without local caching and for a query that was probably not searched for. Not amazing, but a lot faster than your result. rightdao is 755ms, no real difference I’d say.
- freediver 6y agoRightdao is about 70ms for me, could be they are in bay area and not world-wide. Impressive nevertheless, nothing on the web loads in 70ms for me. That is 10x faster than DuckDuckGo Lite.
- 8bitsrule 6y agoIf you're getting the results you need at that speed - great! Else, the speed doesn't matter.
- xxyzz 6y agoHTML version recently get 403 Forbidden in Firefox's context menu search. It appears to be caused by Firefox adds a 'Origin: null' header in the request. Hope they can solve this bug one day.
- franklampard 6y agoMaybe for people who disabled JavaScript, DDG should present in the search results only sites that functions without JavaScript. What’s the point otherwise?
- kube-system 6y agoIs there any easy way to determine that? I’m not aware of one. The presence of JavaScript is not always enough to determine that the page is not usable without JavaScript.
- kevincox 6y agoYou could check to see if there is content on the raw received HTML as well as indexing the content after evaluating JavaScript. If the page pre-JS page has content you mark it as no-JS friendly and if it only gets content after running JS then you mark it as JS-required.
- kube-system 6y agoWhat if the page gets part of its content from JS, or it uses JS to facilitate users actions? This is fairly common.
- kevincox 6y agoIf resources were no concern you could rank the page twice and have separate JS and no-JS indexes. Of course this isn't perfect as a lot of the ranking comes from pages referring to it but I think it is fine. If the page has a good chunk of content it likely still makes sense to include it in no-JS searches. I don't think people will be annoyed that they can't do every action on the page, the real annoyance is getting a blank screen or the main content otherwise unavailable. So at the end of the day I think just having a js-required flag for each document is sufficient and set that flag if the "main content" (as determined by heuristics) is unavailable before running JS. I think that would be good enough to satisfy most users with JS disabled without too much expense.
- powersnail 6y agoDoes the HTML version use a different index from the javascript version? I can't find this page on JS DDG, but it's the first result on HTML DDG. Query: carving a violin bridge Desired URL: https://trianglestrings.com/carving-a-violin-bridge/ https://trianglestrings.com/carving-a-violin-bridge/
- zelon88 6y agoWhere is the Gopher version?
- solox3 6y agoIt will be interesting if either one of these eventually returns image and video results as well.
- dumdum4356 6y agoImage search is what I have been waiting for too.
- eyelidlessness 6y agoI honestly don't care if they use JavaScript (responsibly, which I think they do), but why not ape the user research the other search engines have done and use real pagination? It's not like Google and Bing and etc don't know that you can append DOM nodes.
- userbinator 6y agoUp until not long ago, Google search result pages worked well without JS, and if you sent a suitably old UA header, you'd get the "original" version without mangled URLs or any of the other bloat. Then in 2019 or so, in what I consider to be an extremely hostile move, they started redirecting (using meta tags) to a horrible dumbed-down mobile-ish version and using styles-removed-by-JS to "hide" the actual content of the "full" version (which has the "modern" mangled URLs) if you managed to reach it anyway, so all you'd see was a blank page. It's almost like they were deliberately trying to make something that only worked in the latest version of Chrome or whatever few other "modern" browsers exist today, and decided to force non-JS users to a worse experience than they had had for the past decade or more. Nothing a filtering proxy can't fix (and I brought back true URLs at the same time), but I was absolutely incensed when that happened. I don't think a search engine should ever require JS to be usable. The existence of search engines[1] predates the existence of JS, and of course the HTML mechanism of form submission and displaying a list of links predates both of those. [1] https://en.wikipedia.org/wiki/JumpStation https://en.wikipedia.org/wiki/JumpStation
- andrewshadura 6y agoI once messed up my user agent string (set it to ten years old FF) and it happily gave me the classic Google homepage.
- cookiengineer 6y agoThis seems nice in theory but reaches the wrong audience. Since a couple months ago DDG decided to block TOR Browser users, so I would guess that most people that were concerned about their privacy already moved on to the competition. Though it's nice to see better support for 2G slow networks, even when it's not for the sake of privacy as they claim.
- iamtedd 6y ago"Since a couple months ago DDG decided to block TOR Browser users," Do you have a source for that claim? A quick search returned nothing. Edit: I downloaded the (latest version of Tor Browser)-1 (10.0.12) and DDG is on the start page as the default search. No problems searching for things either.
- cookiengineer 6y agoTry using a mobile carrier and TOR on Android. You'll always get (and I quote) this: "We've detected that you have connected over Tor. There appears to be an issue with the Tor Exit Node you are currently using. Please recreate your Tor circuit or restart your Tor browser in order to fix this. If this error persists, please let us know: error-lite-tor@duckduckgo.com" And no, rotating the exit node or changing the identity won't help either.
- iamtedd 6y agoEven this works for me. Must be a US problem. Regardless, I fail to see how your first hop onto the Internet would affect DDG, and no-one else and therefore be a DDG problem. Your carrier must be mangling the data somehow. How does this equate to DDG saying that they're blocking Tor users?
- dredmorbius 6y agoWorking fine for me presently over Tor. There's also an onion site you can access directly: https://3g2upl4pq6kufc4m.onion/ https://3g2upl4pq6kufc4m.onion/
- 6y ago
- dumdum4356 6y agoIf I add either lite or html search engine to FireFox, any search will result in page that only says "forbidden". Anyone else seeing this?
- xxyzz 6y agoI've seen this for months. It seems to be caused by the 'Origin: null' header. But in my browser it only occurs when I search from context menu.
- mcdevilkiller 6y agoIt's a lot faster than normal DDG, that's for sure.
- tjbiddle 6y agoApart from the obvious media-based entries, why am I getting different results across the OG, HTML, and Lite?
- Vektorweg 6y agoSomeone started with a no-js site index yet?
- cyberlab 6y ago> because of its heavy use of JavaScript And why does it have to be 'heavy'? Surely adding a few small embellishments with JS is okay, but the JS needn't be heavy at all.
- 8bitsrule 6y ago> needn't be heavy at all The words I'd pick are 'careless' or 'sloppy' or 'laughable' use of javascript. The speed of carefully-crafted JS in today's browsers is amazing. If the mule collapses hauling that 20-ton-wagon of borax, there's the culprit.
- ecmascript 6y agoI don't get why these would be preferable unless you are an HN elitist that hates javascript for no other reason than it's own sake. Normal DuckDuckGo loads just as fast for me as the html variant and it doesn't provide location (I had to change it manually), it doesnt have image search, maps, news etc. I don't understand why anyone would use these version over the normal DDG experience. It's not like the normal DDG is ridicolous amounts of javascript anyway and the normal DDG experience is pretty much just as fast. I cannot really notice any difference anyway.
- abhayhegde 6y agoLite version is minimalism at its best! In general, are there tutorials or guidelines on how to strip away unnecessary JS components? As in how do I query which component is unused from the source code of a website? I suspect I will have to play with Console of a browser etc.
- vmsp 6y agoWhile duckduckgo.com is using the standard HTML5 doctype, html.duckduckgo.com is using <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> and lite.duckduckgo.com is using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> Is this on purpose? To make the website work on older browsers?
- frankietaylr 6y agoI tried a simple search query (test) with no javascript versions and the one with javascript enabled and the results are different.
- makecheck 6y agoIf you want to add this as a search bar option in Firefox, you have to visit one of these pages first and then a green plus will appear in the search bar menu to (for example) add DuckDuckGo Lite. Then in settings you can also make it your new default. [When did Firefox remove the option to just type in a URL for this?]