English 中文(简体)
我想在我的服务器上操作遥控 j。
原标题:I want to run remote javascript on my server

我曾对Rhino和Jaxer进行了搜查,并提出了可能的解决方案,但希望在我不敢肯定他们会回过我之后的一段路(特别是如果我对javascript没有控制,因此我无法补充“服务器”。

因此,我要从我的服务器上向第三党网站提一个遥远的网页,并填写了 j。

借助CUrL,我可以轻松地 gr一页、内容、做功用等,但我可以做些什么。

我曾建议过从建立称为URLs的蚊帐申请到上述申请(Rhino和Jaxer)的解决办法,但我想看是否有任何人以前曾经历过这种情况,如果是,什么是可能的cha,以及你如何解决这一问题。

Cheers,

迈克

问题回答

I think Jaxer is your only option. You can use Jaxer.Sandbox to render remote page on the server and execute all scripts embedded on that page. The resulting DOM is what you d get in Firefox web browser with JS enabled. Here s a simple tutorial featuring Jaxer.Sandbox for web scraping purposes.





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签