Toggle Full Screen and Hide Menu Bar
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
This add-on previously supported Anki 2.0. You can download the last version supporting 2.0 here. As Anki 2.0 has been discontinued, no support is available for this version.
All Anki 2.1.x Add-Ons
returnMyMenu = QAction("Show Menu", mw)
mw.connect(returnMyMenu, SIGNAL("triggered()"), showMenu)
The code could be prettified, but I've made it in one minute just to make it work with the another one hotkey. Don't know why the original toggle (if/else construct) doesn't work.