Skip to main content

Posts

Showing posts with the label hack

ADDPATH NT/DOS command line script

(Yes, We say script now instead of batch ... times are changing). Here is a stupid little batch file that I have written several times. It adds a single argument to the path in your current command-line session (so it is not permanent). @echo off if "%1" == "" goto end_script set path=%path%;%1 :end_script

Hacking FireFox 2 Menus

Today, I was inspired to hack the context menu in Firefox 2.0, removing "Send To" and "Send Image". I googled for a solution, and found step-by-step directions for Firefox 1.0 . So, I started digging, and the over-all instructions were good, but I only needed to comment out the menu options in browser.xul, and not touch the javascript in browser.js. The original instructions were a bit vague, but in the end, it worked!