This file contains 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 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 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 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 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 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 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> |
This file contains 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 PLUGIN_INFO = | |
<KeySnailPlugin> | |
<name>Speaker Deck</name> | |
<description>Manipulate Speaker Deck</description> | |
<updateURL>https://gist.github.com/958/6724744/raw/8ad2d8736534936917d525040693ba8736593b49/speakerdeck.ks.js</updateURL> | |
<version>0.0.1</version> | |
<author>958</author> | |
<license>MIT</license> | |
<minVersion>1.8.0</minVersion> | |
<detail><![CDATA[ |
This file contains 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
--- old/components/tombfix.js | |
+++ new/components/tombfix.js | |
@@ -314,13 +314,22 @@ | |
if(greasemonkey){ | |
greasemonkey = greasemonkey.getService().wrappedJSObject; | |
- env.addBefore(greasemonkey, 'evalInSandbox', function(){ | |
- for(var i=0, len=arguments.length ; i<len ; i++){ | |
- var arg = arguments[i]; | |
- if(typeof(arg) == 'object'){ |
This file contains 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
--- old/bmany.ks.js | |
+++ new/bmany.ks.js | |
@@ -253,8 +253,7 @@ | |
if (item) | |
aContainer.push(item); | |
} | |
- else if (PlacesUtils.nodeIsFolder(childNode) | |
- && !PlacesUtils.nodeIsLivemarkContainer(childNode)) | |
+ else if (PlacesUtils.nodeIsFolder(childNode)) | |
{ |
NewerOlder