the ** MacGesture ** software get to work simply but it consumes such a large amount of memory(after running in background long enough it take up to 1GB on my MBP), so I just look around to find some replacement for it and find the xGesture, but it need many configuration work
this REPO just provide the essential AppleScrip for Safari Gestures
close_tab2the_right.scpt
go_back.scpt
go_forward_by_keycode.scpt
loop_tab.scpt
next_page.scpt
next_tab.scpt
preview_tab.scpt