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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Weaintfoundshit.js

63 点作者 NicoSantangelo将近 9 年前

8 条评论

antoineMoPa将近 9 年前
I like the fact that it works with querySelectorAll! This is compatible with my projects in which I do:<p><pre><code> var qsa = function(sel){return document.querySelectorAll(sel)}; </code></pre> However, it does not work with:<p><pre><code> var subqsa = function(el,sel){return el.querySelectorAll(sel);}</code></pre>
评论 #12150082 未加载
评论 #12151322 未加载
rossta将近 9 年前
Thanks, there really aren&#x27;t enough memes from Spaceballs these days.
评论 #12150046 未加载
aerovistae将近 9 年前
I don&#x27;t understand at all. I clicked &quot;I don&#x27;t get it,&quot; then put &quot;.arbitrary&quot; in as a selector, and.....a message comes up saying &quot;Wasn&#x27;t that awesome?&quot; Nothing else happened.<p>What am I missing here
评论 #12150066 未加载
评论 #12150083 未加载
评论 #12150063 未加载
asadlionpk将近 9 年前
This is awesome! I wasn&#x27;t expecting &quot;I had enough&quot; at all.
jondubois将近 9 年前
Keep executing document.querySelector(&#x27;.foo&#x27;) several times in the dev console and eventually a new video comes up lol.
jereees将近 9 年前
This should be tagged with &quot;Show HN&quot;.
spilk将近 9 年前
the mac keyboard shortcut listed should be Cmd+Option+i.
评论 #12151167 未加载
Hambonetasty将近 9 年前
Spaceballs!