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.

Weaintfoundshit.js

63 pointsby NicoSantangeloalmost 9 years ago

8 comments

antoineMoPaalmost 9 years ago
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 未加载
rosstaalmost 9 years ago
Thanks, there really aren&#x27;t enough memes from Spaceballs these days.
评论 #12150046 未加载
aerovistaealmost 9 years ago
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 未加载
asadlionpkalmost 9 years ago
This is awesome! I wasn&#x27;t expecting &quot;I had enough&quot; at all.
jonduboisalmost 9 years ago
Keep executing document.querySelector(&#x27;.foo&#x27;) several times in the dev console and eventually a new video comes up lol.
jereeesalmost 9 years ago
This should be tagged with &quot;Show HN&quot;.
spilkalmost 9 years ago
the mac keyboard shortcut listed should be Cmd+Option+i.
评论 #12151167 未加载
Hambonetastyalmost 9 years ago
Spaceballs!