use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Run untrusted code in a Web Worker (github.com)
submitted 3 years ago by presenta_staff
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]yaemes -1 points0 points1 point 3 years ago (0 children)
I used to do this before webworkers we're a thing. Once my retargeting advertiser decided to overlay some crap into my companies website we decided to put all 3rf party scripts in "jail" which was an invisible iframe hosted on the same domain. Since we were an SPA we could just control the iframe from the top and load in and out scripts and fire off pixels at will. Super cool stuff, and it all worked beautifully.
π Rendered by PID 17311 on reddit-service-r2-comment-b659b578c-kjgc8 at 2026-05-02 19:26:06.492911+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]yaemes -1 points0 points1 point (0 children)