Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.12 KB

readme.textile

File metadata and controls

39 lines (27 loc) · 1.12 KB

Having fun with firefox and textmate!
(or how i escaped the savages)

Install mozrepl

  1. download mozrepl
  2. follow the firefox install instructions

Install bundle

  1. download the bundle and uncompress it
  2. double click the bundle file to install to textmate

Commands

Execute javascript on current window

  • Make sure you are running mozrepl. (Go to Firefox Tools menu and select MozLabStart 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.

Reload all stylesheets

  • Make sure you are running mozrepl. (Go to Firefox Tools menu and select MozLabStart MozRepl)
  • Press cmd + j. It will reload all the stylesheets.