- download mozrepl
- follow the firefox install instructions
- download the bundle and uncompress it
- double click the bundle file to install to textmate
- Make sure you are running mozrepl. (Go to Firefox Tools menu and select MozLab → Start MozRepl)
- Paste this into textmate
function green() { jQuery("*").css("background-color","green"); setTimeout(purple,2000); }
function purple() {
jQuery(“*”).css(“background-color”,“purple”);
setTimeout(green,2000);
}
green()
- Select what you just pasted and press cmd + j. It should execute in your top firefox window.
- Make sure you are running mozrepl. (Go to Firefox Tools menu and select MozLab → Start MozRepl)
- Press cmd + j. It will reload all the stylesheets.