简体   繁体   中英

program a Firefox extension to download a page

I want to apply a regex to a page whose URL only my extension is going to know. How do I program a Firefox extension to download the page?

Found! "To load from file://, http://, chrome://, resource:// and other URLs directly, use XMLHttpRequest or nsIChannel (example)." - File I/O

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