开发者

Sending developed dom through chrome extension to a webservice

开发者 https://www.devze.com 2023-04-08 20:11 出处:网络
I am trying to create开发者_JAVA技巧 an extension to send the developed dom of the current tab to a web service at the push of a button, any one knows how I would go about it? methodology,code or simp

I am trying to create开发者_JAVA技巧 an extension to send the developed dom of the current tab to a web service at the push of a button, any one knows how I would go about it? methodology,code or simple advice will be appreciated.

I am noob :(


You need innerHTML:

var html = document.getElementById("element1").innerHTML;
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号