This is an imacro script. You can download imacro for firefox by typing "imacro" in the addons search field. Once you install it:
1. Restart your firefox browser.
2. Copy the script and save it with a text program like notepad in windows or texteditor in linux.
3. Make sure you save the file as "iim" and put it on your desktop so you know where it is.
4. Locate the iMacos icon in the toolbar of your browser and click it once. It will open on your left side
5. Highlight "Favorites" and right click so you can create a NEW folder. Rename the folder to Twitter or something like that.
6. Login to your Twitter account.
7. Highlight your new folder you renamed Twitter or whatever you named it.
8. Press the "Rec" tab located betweed Play and Edit in your imacro window on left side of screen.
9. Press the "Load" button and navigate to your Desktop where you saved the script file in iim
10. Once loaded, press the "Edit" tab and press "Edit Macro"
11. Type in the trend name you want to search and type it in without the <trend name>. (READ INSTRUCTIONS)
12. If you want to search the # hash tag, remove the <trend name> characters and put in %23 and then then name. Example #teaparty would be %23teaparty.
13. Once done, go back to the "Play" tab and presss the "Play (loop)" button. Don't forget to change the number of repeats. 3 is the default.
When you do this, the macro will run and favorite every post that has the name of the trend you put in or the hash tag you typed in.
** There is a flaw in the script. If the script "Favorites" a tweet once and incounters it again, it will "UnFavor" the tweet. This needs to be fixed. You can go behind the script once it gets done and re-favorite any tweets you want. So don't increase the MAX Repeats to high.