If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!

please download the javascript shortcut on :

put the javascript on your web2py static js folder.
then start to custom your layout.html


Note :
- please change Ctrl+F12 with your custom keyboard shortcut
- please change the action (windows.open) with your desire javascript action


<script src="{{=URL('static','js/shortcut.js')}}"></script>
shortcut.add("Ctrl+F12",function() {
	window.open("{{=URL('default', 'index') }}", "_self");

Related slices

Comments (0)

Hosting graciously provided by:
Python Anywhere