fix invalid command-line editing
add context menu
add content menu script for firefox