0
A
回答
1
該Firefox Addons Development Guide應回答您有關Firefox附加組件的問題。另請參閱Mozilla Extensions文檔。
5
這個問題並不十分清楚,但如果您在Firefox Addon中尋找類似HTTPRequest的內容,以下代碼段可能會對您有所幫助。
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "http://www.sitetorequest.com",true);
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4) {
alert(xmlhttp.responseText);
Your Code here...
}
}
xmlhttp.send(null)
+0
Im main.js這給了我一個'XMLHttpRequest未定義'消息 – 2015-06-04 20:20:16
相關問題
- 1. 如何向Almofire請求添加參數
- 2. 如何使用Serilog向OWIN請求添加請求標識符?
- 3. 如何添加請求ID
- 4. Swagger UI不向請求添加標頭
- 5. Jersey客戶端:向請求添加Cookie
- 6. 向soap請求添加xml前綴
- 7. ASIHTTPRequest向請求添加標頭
- 8. 向Jquery accordion header添加SQL請求
- 9. 向Oauth添加XML請求正文IConsumerRequest
- 10. CXF:向請求添加SOAP標頭
- 11. cosign-api向SOAP請求添加原因
- 12. 向請求對象添加新參數
- 13. HttpModule向請求添加標頭
- 14. 向GraphQL請求添加參數
- 15. 向django模型方法添加請求?
- 16. RestKit - 向所有請求添加參數
- 17. 向Google Analytics API請求添加quotaUser
- 18. 向WKWebView中的所有傳出請求添加請求標頭
- 19. 向Jetty請求添加/編輯請求參數
- 20. 如何向CoAP請求添加額外選項?
- 21. 如何向此ajax請求添加標頭
- 22. OAuthWebSecurity FacebookClient:如何向範圍請求添加其他權限?
- 23. 如何向每個Ajax請求添加參數?
- 24. 如何向所有Jersey請求添加標題
- 25. 如何向多部分POST請求添加其他參數?
- 26. 如何向Facebook測試用戶添加請求
- 27. 如何向請求添加標題字段?
- 28. 如何向ASP.NET MVC中的ModelStateDictionary添加請求驗證錯誤?
- 29. 如何從h:commandLink向POST請求添加參數?
- 30. 如何在Android中向HTTP GET請求添加參數?
不知道你在問什麼,但它聽起來像XmlHttpRequest。這裏有一個例子:http://forums.mozillazine.org/viewtopic.php?f=19&t=102637&start=0&st=0&sk=t&sd=a – KiNgMaR 2009-09-14 06:16:29
問題不是很清楚。 – mauris 2009-09-14 06:17:02