Skip to content

Instantly share code, notes, and snippets.

@tyoshikawa1106
Last active December 17, 2015 20:59
Show Gist options
  • Save tyoshikawa1106/5671662 to your computer and use it in GitHub Desktop.
Save tyoshikawa1106/5671662 to your computer and use it in GitHub Desktop.
ホームページコンポーネントのお知らせ・JavaScriptショートカットキー処理のデモ
<script type="text/javascript" src="/resource/shortcut"></script>
<script>
shortcut.add("Ctrl+Shift+1",function() {
window.open('/_ui/common/apex/debug/ApexCSIPage', null);
});
shortcut.add("Ctrl+Shift+2",function() {
window.open('/setup/forcecomHomepage.apexp?setupid=ForceCom', null);
});
shortcut.add("Ctrl+Shift+3",function() {
window.open('http://www.salesforce.com/us/developer/docs/pages/index.htm', null);
});
shortcut.add("Ctrl+Shift+4",function() {
window.open('http://www.salesforce.com/us/developer/docs/apexcode/index.htm',null);
});
</script>
Hi! Force.com Developer!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment