📄 common.js
字号:
String.prototype.trim = function() {
return this.replace(/(^\s*)|(\s*$)/g, "");
}
function OMO() {
if (window.event.srcElement.tagName == "IMG")
event.srcElement.parentElement.className="T";
else
event.srcElement.className="T";
}
function OMOU() {
if (window.event.srcElement.tagName == "IMG")
event.srcElement.parentElement.className="T";
else
event.srcElement.className="P";
}
function OMO1() {
event.srcElement.className="LL";
}
function openWindow(URL, Name, Width, Height) {
window.open(URL, Name, "width=" + Width + ",height=" + Height +
",left=" + (window.screen.width - Width)/2 +
",top=" + (window.screen.height - Height)/2 +
",resizable=no,scrollbars=yes,toolbar=no,location=no," +
"directories=no,status=no,menubar=no");
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -