Skip to content

Instantly share code, notes, and snippets.

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[
@958
958 / gist:6182793
Last active February 26, 2024 07:26
--- 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'){
@958
958 / bmany.diff
Last active December 18, 2015 16:39
--- 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))
{
@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')]