Question: Is it possible to run some javascript code (having perhaps an `NSString` as input) without using a `UIWebView`? I would like to run this code in a separate thread so UIWebView is not possible and I don't really want to render anything, just get back the results.

Answer: 
I think Parmanoir's article [Taming JavascriptCore within and without WebView](http://parmanoir.com/Taming_JavascriptCore_within_and_without_WebView) may give you some advice.
```
 self.timer = [NSTimer scheduledTimerWithTimeInterval:0.1 target:self selector:@selector(getResults:) userInfo:nil repeats:YES];

-(void)getResults
{
    NSString *value = [self.webView stringByEvaluatingJavaScriptFromString:@"javascript"];
}   

```

Any reason you couldn't just do something like this. Shouldn't be that big of an overhead on your main thread.