简体   繁体   中英

Google Chrome extension - How to access an element and send a HTTP request?

I haven't managed to find any good resources on Google Chrome extension development. Does anyone know of any blogs or resources that walks you through creating extensions?

I am trying to create a chrome extension that when I press the extension icon in the toolbar it will look through the webpage, retrieve certain elements and then send a HTTP request to the server as if the javascript that is sending the http request is part of the original page.

http://code.google.com/chrome/extensions/getstarted.html

This is the Google documentation that covers almost everything a Chrome extension developer needs to know.

In particular you'll need to look at content scripts and cross-origin XMLHttpRequests .

Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM