i need a simple custom extension for my Firefox browser. The extension work in this way:
If the url of the webpage i'm opening with Firefox contains a specific String (for example "[url removed, login to view]", "continue", "open", ecc) the extension must track the number of webpage's kbyte downloaded, if the number of kbyte it's more than X it stops the downloading.
I need that because in some sites, the information i need is stored in the first 50/60kb of content and i don't want to download all the web page, but stop it if exceed that kbyte value .
P.S. It must works on every O.S. The Firefox version i'm using is 11.0.