Skip to content

Commit

Permalink
微调
Browse files Browse the repository at this point in the history
  • Loading branch information
defpt committed Sep 20, 2014
1 parent 61b57c6 commit 9f1a183
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions HistoryMenu/undoCloseTabBtn.uc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
var buttonAttrs = {
id: "undoclosetab-button",
label: "恢复已关闭的标签",
tooltiptext: "左键:恢复最后一次关闭的标签\n右键:已关闭标签列表",
tooltiptext: "恢复最近关闭的标签",
class: "toolbarbutton-1 chromeclass-toolbar-additional",
removable: "true",
context: "_child",
type: "menu-button", //点击按钮恢复最后一次关闭的标签,如果想左键恢复最后一次关闭的标签,右键打开已关闭标签列表,
// 那么改为(context: "_child",)
image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAmElEQVQ4jaXSIQ7CQBRF0SMqKlgAghAEEtFFIBEsAYFENGyBFSBYAYtDIhDIQVCSSdOh7fQm38zLu+L/IU39J+ulRphazhLE5YAlytxyPA/cUeWU23OZKggSFxojeWI2RFJghS1ueEfZfsg+2mx8FxpwTgliSRfHJjv9E/wkXSwawa5PkKLEy4gP1qbCNbcMB8xzywXW8cMHRHtGPjrrfUUAAAAASUVORK5CYII=",
command: "History:UndoCloseTab"
};
Expand Down
3 changes: 2 additions & 1 deletion MemoryMonitor.uc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ var ucjsMM = {
document.insertBefore(document.createProcessingInstruction('xml-stylesheet', 'type="text/css" href="data:text/css;utf-8,' + encodeURIComponent('\
#MemoryDisplay{\
padding-left:0;\
font-size:12px;\
font-size:13px;\
margin-right:2px;\
}\
#MemoryDisplay .statusbarpanel-text{margin:0;}\
') + '"'), document.documentElement);
Expand Down

0 comments on commit 9f1a183

Please sign in to comment.