?? identify-os.js
字號(hào):
// Please note: this file contains snippets for comparison
// it is not self-contained or ready-to-use code as such
function identifyOS()
{
var agent = navigator.userAgent.toLowerCase();
if (agent.indexOf("win") != -1)
{
return "win";
}
else if (agent.indexOf("mac") != -1)
{
return "mac";
}
else
{
return "unix";
}
return false;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -