I am wanting to find or create a Firefox Extension that can create and save to a folder, based upon the text in a page's tag.
I would want it to do the following:
Check the page's html for a certain tag name (e.g.
Use a regular expression to look for a text pattern within the tag mentioned above (e.g. first and last name like -
Compare that pattern to folders already existing on the computer,
i. If the folder exists, then just save the file (from a certain domain, in certain tag, etc) from the page to that folder,
ii. If the folder does not exist, then create it and then save the aforementioned file from the page to that folder.
Close the page/tab.
I've been scouring the web for something like this, but as of yet, I haven't found something that can do this. Is there something like this? If not, is it possible to create an Extension that can work with Regular Expressions, like I need?