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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Searching for “notepad” on DuckDuckGo yields zero results

78 点作者 massinstall超过 1 年前

10 条评论

jampa超过 1 年前
It seems that anything that returns &quot;++&quot; (EDIT: in the &quot;About&quot; box), in this case &quot;Notepad++&quot;, breaks their internal regex because it seems not to be sanitized properly<p>The breaking code using chrome dev tools seems to be:<p>n = new RegExp(&quot;^(https?:&#x2F;&#x2F;)?([\\w\\.-_]<i>\\.)?&quot; + o.toLowerCase().replace(&#x2F;[-\s]&#x2F;g, &quot;&quot;) + &quot;\\.&quot;);<p>In this case &quot;o&quot; is &quot;Notepad++&quot; which might be the first result.<p>The browser returns this error:<p>Invalid regular expression: &#x2F;^(https?:&#x2F;&#x2F;)?([\w\.-_]</i>\.)?notepad++\.&#x2F;: Nothing to repeat<p>Also happens with C++ <a href="https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=c%2B%2B&amp;t=ffab&amp;ia=web" rel="nofollow noreferrer">https:&#x2F;&#x2F;duckduckgo.com&#x2F;?q=c%2B%2B&amp;t=ffab&amp;ia=web</a>
评论 #37396925 未加载
评论 #37396862 未加载
评论 #37397216 未加载
评论 #37396750 未加载
评论 #37396891 未加载
评论 #37396775 未加载
yegg超过 1 年前
Hi all (CEO &amp; Founder, DuckDuckGo here). Looks like something may have broken in a release that went out today -- it is triggering a JS error. We&#x27;re looking into it now and should have it resolved soon.<p>UPDATE: this should be fixed now.
评论 #37397023 未加载
评论 #37401684 未加载
评论 #37397085 未加载
评论 #37397522 未加载
评论 #37397254 未加载
1vuio0pswjnm7超过 1 年前
Using POST, HTTP&#x2F;1.0 and lite.duckduckgo.com, with no Javascript of course, I got results. Not suggesting any of those are requirements. I&#x27;m just reporting that the no results experience is not universal.<p>Here is the first page of results:<p><pre><code> https:&#x2F;&#x2F;notepad-plus-plus.org&#x2F; https:&#x2F;&#x2F;onlinenotepad.org&#x2F;notepad https:&#x2F;&#x2F;apps.microsoft.com&#x2F;store&#x2F;detail&#x2F;9MSMLRH6LZF3?hl=en-us&amp;amp;gl=US https:&#x2F;&#x2F;notepad-plus-plus.org&#x2F;downloads&#x2F;v8.5&#x2F; https:&#x2F;&#x2F;sourceforge.net&#x2F;projects&#x2F;notepadplusplus.mirror&#x2F; https:&#x2F;&#x2F;notepad.js.org&#x2F; https:&#x2F;&#x2F;notepad-plus-plus.org&#x2F;downloads&#x2F;v8.1.9.3&#x2F; https:&#x2F;&#x2F;notepad-plus-plus.org&#x2F;downloads&#x2F;v8.1&#x2F; https:&#x2F;&#x2F;support.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;help-in-notepad-4d68c388-2ff2-0e7f-b706-35fb2ab88a8c https:&#x2F;&#x2F;www.techspot.com&#x2F;downloads&#x2F;2010-notepad.html https:&#x2F;&#x2F;github.com&#x2F;notepad-plus-plus https:&#x2F;&#x2F;www.onlinenotepad.io&#x2F; https:&#x2F;&#x2F;anotepad.com&#x2F; https:&#x2F;&#x2F;www.howtogeek.com&#x2F;902619&#x2F;open-notepad-in-windows&#x2F; https:&#x2F;&#x2F;notepad.plus&#x2F; https:&#x2F;&#x2F;community.notepad-plus-plus.org&#x2F; https:&#x2F;&#x2F;www.digitalcitizen.life&#x2F;start-notepad-windows&#x2F; https:&#x2F;&#x2F;notepad.uptodown.com&#x2F;windows https:&#x2F;&#x2F;www.dictionary.com&#x2F;browse&#x2F;notepad http:&#x2F;&#x2F;www.my-notepad.net&#x2F; https:&#x2F;&#x2F;notepad.id.uptodown.com&#x2F;windows https:&#x2F;&#x2F;notepad-classic-windows-10.en.softonic.com&#x2F; </code></pre> Below is a quick script for DuckDuckGo searching, if only want first page of results. yy025 makes HTTP from URLs. yy046 URL-encodes input, e.g., &quot;+&quot; to %2B. The address 127.22.10.55 is a TLS forward proxy.<p><pre><code> usage: echo query string|1.sh &gt; 1.htm firefox .&#x2F;1.htm links -no-connect .&#x2F;1.htm #!&#x2F;bin&#x2F;sh h=duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion h=lite.duckduckgo.com read x; x=q=$(echo &quot;$x&quot;|yy046); export httpMethod=POST; export Content_Type=application&#x2F;x-www-form-urlencoded; export Content_Length=${#x}; export httpVersion=1.0; export Connection=close; echo https:&#x2F;&#x2F;$h&#x2F;lite&#x2F;|yy025|if sed w&#x2F;dev&#x2F;stderr;then echo $x;echo $x &gt;&amp;2;fi \ |socat stdio,ignoreeof tcp:127.22.10.55:80</code></pre>
sys32768超过 1 年前
For that query, the Chrome developer tools console spits an error like so:<p>&gt;d.7527c434450544045365.js:1 Uncaught (in promise) SyntaxError: Invalid regular expression: &#x2F;^(https?:&#x2F;&#x2F;)?([\w\.-_]*\.)?notepad++\.&#x2F;: Nothing to repeat (at
评论 #37396714 未加载
评论 #37396674 未加载
评论 #37396686 未加载
nipperkinfeet超过 1 年前
I feel like Google has the same issue. Nowadays, searching for anything on Google yields between 3 and 17 results. Few years ago, I received millions of results for the same searches.
评论 #37399701 未加载
jepler超过 1 年前
so does &quot;cplusplus&quot;<p>It seems to have to do with some kind of metadata is fetched and then used as a regular expression (to change markup in some other part of the page?); it&#x27;s assumed that the text can be used as a regular expression without quotation but in the case of the doubled &quot;+&quot; character it becomes a non-valid RE.
letmevoteplease超过 1 年前
Seems to happen with any query containing &quot;otepad&quot;.
评论 #37396667 未加载
评论 #37396639 未加载
notorandit超过 1 年前
&quot;Windows os&quot; instead yields just nonsense
snerc超过 1 年前
What causes this?
评论 #37396671 未加载
评论 #37396544 未加载
keb_超过 1 年前
Unrelated to this issue, but I get peeved when HN commenters rave how DuckDuckGo results are far superior to Google&#x27;s, and yet the other day I entered &quot;DuckDNS&quot; on DDG, and it was nowhere to be scene in the top 3 pages. Meanwhile on Google and Brave Search, it is the first result.
评论 #37399720 未加载