Skip to content

Instantly share code, notes, and snippets.

@958
958 / tabgroup.ks.js
Last active February 26, 2024 07:26
[keysnail]Tabgroup Controller
// Info
var PLUGIN_INFO =
<KeySnailPlugin>
<name>Tabgroup Controller</name>
<description>Manipulate Tabgroup</description>
<description lang="ja">Tabgroup を操作</description>
<updateURL>https://gist.github.com/958/3630309/raw/tabgroup.ks.js</updateURL>
<author>958</author>
<version>0.0.2</version>
@958
958 / foxage2ch.ks.js
Last active October 10, 2015 01:08
[keysnail]FoxAge2ch Controller
// Info
var PLUGIN_INFO =
<KeySnailPlugin>
<name>FoxAge2ch Controller</name>
<description>Manipulate FoxAge2ch</description>
<description lang="ja">FoxAge2ch を操作</description>
<author>958</author>
<updateURL>https://gist.github.com/958/3608004/raw/foxage2ch.ks.js</updateURL>
<version>0.0.2</version>
@958
958 / launcher.ks.js
Last active February 26, 2024 07:26
[keysnail]launcher plugin
// Info
var PLUGIN_INFO =
<KeySnailPlugin>
<name>launcher</name>
<description>Application launcher</description>
<description lang="ja">アプリケーションを起動</description>
<updateURL>https://gist.github.com/958/3608000/raw/launcher.ks.js</updateURL>
<author>958</author>
<version>0.0.2</version>
@@ -1518,7 +1518,10 @@
lastKey : "extensions.keysnail.plugins.twitter_client.last_status_id",
oauth : gOAuth,
lastIDHook : $U.bind(Notifier.updateAllStatusbars, Notifier),
- beginCount : gTimelineCountBeginning
+ beginCount : gTimelineCountBeginning,
+ params : {
+ include_entities : true
+ }
}
// ============================================================ //
// Inside of PRESERVE area.
// ============================================================ //
function transposeSubString(input, beg, end, to) {
let txt = input.value;
let head = txt.slice(0, beg);
let left = txt.slice(beg, end);
let right = txt.slice(end, to);
@958
958 / click_to_share.slex.js
Created February 28, 2012 09:46
[Sleipnir Mobile for Android]Click to share extension
// ==UserScript==
// @name Click to share
// @author @958
// @description Share the link destination when a link is clicked.
// @description When you click the icon at the top left of the page, will be in shared mode.
// @description:ja リンクをクリックすると共有する Click on share モードを提供します。
// @description:ja 画面左上のアイコンをクリックすると、モードを切り替えます。
// @version 0.2
// @history 0.1 Initial version.
// @history 0.2 Added tabindex attribute to icon.
// Quote from the plugin help
var local = {};
plugins.options["site_local_keymap.local_keymap"] = local;
function fake(k, i) function () { key.feed(k, i); };
function pass(k, i) [k, fake(k, i)];
function ignore(k, i) [k, null];
local["^http://www.google.(co.jp|com)/reader/view/"] = [
['a', fake('k')]
@958
958 / google-calendar.ks.js
Last active September 29, 2015 12:18
[keysnail]Google Calendar Plugin
// Info
let PLUGIN_INFO =
<KeySnailPlugin>
<name>Google Calendar</name>
<description>Google Calendar from KeySnail</description>
<author>958</author>
<version>0.0.2</version>
<updateURL>https://gist.github.com/958/1599902/raw/google-calendar.ks.js</updateURL>
<license>MIT</license>
@958
958 / gist:1450681
Created December 9, 2011 08:00
[keysnail]Balus!
ext.add('balus', function(ev, arg) {
plugins.twitterAPI.request('statuses/update', {
params: { status: L('バルス!!') },
ok: function() display.echoStatusBar(L('目がぁぁぁ、目がぁぁぁぁ!')),
ng: function() display.echoStatusBar(L('3分間待ってやる'))
});
}, 'Balus!');
@958
958 / mstranslator.ks.js
Last active February 26, 2024 07:26
[keysnail]MSTranslator
// Info
let PLUGIN_INFO =
<KeySnailPlugin>
<name>MSTranslator</name>
<description>Microsoft Translator with KeySnail</description>
<updateURL>https://gist.github.com/958/1450594/raw/mstranslator.ks.js</updateURL>
<author>958</author>
<version>0.0.2</version>
<license>MIT</license>