Sadly, the Razer Orochi for Mac glitchs when you apply more than one macro to it making macros unusable, unless you only use one. There is a way around it tho.
Go into system preferences -> keyboard -> application shortcuts.
From here you can click the + icon and type in "Back" or "Forward" in the menu title box, and then assign a single button command(one of the F keys) for the keyboard shortcut. Then go into youre orochi pref pane and change the buttons to single key, then the single button keboard shortcut you assigned.
The only downside is you cant use
[ or
] to go backwards and forwards anymore.