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.

Show HN: Module loader for chrome console

13 pointsby chadsciraabout 9 years ago

2 comments

chadsciraabout 9 years ago
Also not officially supported yet, but it does allow you to also load modules temporarily via the console:<p><pre><code> R42.load({ &#x2F;&#x2F; or loadAlways jquery: &#x27;$&#x27;, underscore: &#x27;_&#x27;, bluebird: &#x27;Promise&#x27; }, function () { &#x2F;&#x2F; $, _, and Promise are now globals console.log(&#x27;loaded&#x27;); } ); </code></pre> This was initially intended to add modules to pages that you don&#x27;t control so that you can run external code on them.
artellectualabout 9 years ago
This is pretty cool. Wonder what kind of hacks you had to do to get this working.
评论 #11428830 未加载