tested code for uzbl event