/* 背景色 */
body {
background-color: #3b3b3b;
}
input[type="text"]::selection, textarea::selection {
background-color: #4a78a4;
}
.hoverbutton {
border-radius: 4px;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sync.MoveTab = { | |
Exec: async function (Ctrl, pt) { | |
const tabs = []; | |
const len = await GetLength(await te.Data.Tabgroups.Data); | |
for (let i = 0; i < len; i++) { | |
const name = await te.Data.Tabgroups.Data[i].Name; | |
tabs.push({ index: i, name: name}); | |
} | |
let hMenu = await api.CreatePopupMenu(); | |
for (let i = tabs.length; i--;) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tabs = []; | |
const len = await GetLength(await te.Data.Tabgroups.Data); | |
for (let i = 0; i < len; i++) { | |
const name = await te.Data.Tabgroups.Data[i].Name; | |
tabs.push({ index: i, name: name}); | |
} | |
let hMenu = await api.CreatePopupMenu(); | |
for (let i = tabs.length; i--;) { | |
let uFlags = MF_STRING; | |
if ((await te.Data.Tabgroups.Click - 1) == i) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InputDialog("Everything", "", async function (r) { | |
if ("string" === typeof r && s != r) { | |
await Addons.Everything.Search(r); | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let n = await te.Data.Tabgroups.Click - 1; | |
const nLen = await GetLength(await te.Data.Tabgroups.Data); | |
if (n < 1) { | |
n = nLen; | |
} | |
if (n >= nLen + 1) { | |
n = 1; | |
} | |
Addons.Tabgroups.Change(n); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let n = await te.Data.Tabgroups.Click + 1; | |
const nLen = await GetLength(await te.Data.Tabgroups.Data); | |
if (n < 1) { | |
n = nLen; | |
} | |
if (n >= nLen + 1) { | |
n = 1; | |
} | |
Addons.Tabgroups.Change(n); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tabs = []; | |
const len = await GetLength(await te.Data.Tabgroups.Data); | |
for (let i = 0; i < len; i++) { | |
const name = await te.Data.Tabgroups.Data[i].Name; | |
tabs.push({ index: i, name: name}); | |
} | |
let hMenu = await api.CreatePopupMenu(); | |
for (let i = tabs.length; i--;) { | |
let uFlags = MF_STRING; | |
if ((await te.Data.Tabgroups.Click - 1) == i) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hints.characters = 'asdfgwertzxcvb'; | |
settings.hintAlign = 'left'; | |
settings.nextLinkRegex = /((?!first)(next|older|more|>|›|»|forward|→|次(のページ|へ))+)/i; | |
settings.prevLinkRegex = /((?!last)(prev(ious)?|newer|back|«|less|<|‹|←|前(のページ|へ))+)/i; | |
settings.focusAfterClosed = 'right'; | |
settings.scrollStepSize = 70; | |
settings.smoothScroll = true; | |
[ | |
'cp', ';cp', ';ap', ';s', 'spa', 'spb', 'spd', 'sps', 'spc', 'sd', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Info | |
let PLUGIN_INFO = | |
<KeySnailPlugin> | |
<name>RedmineSnail</name> | |
<description>Redmine client</description> | |
<updateURL>https://gist.github.com/958/6820041/raw/redmine.ks.js</updateURL> | |
<author>958</author> | |
<version>0.0.1</version> | |
<license>MIT</license> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Info | |
let PLUGIN_INFO = | |
<KeySnailPlugin> | |
<name>Quick Google</name> | |
<description>Search from Google with KeySnail</description> | |
<description lang="ja">KeySnail 内で Google 検索</description> | |
<updateURL>https://gist.github.com/958/6820032/raw/quickggl.ks.js</updateURL> | |
<author>958</author> | |
<version>0.0.1</version> |
NewerOlder