Skip to content

Instantly share code, notes, and snippets.

svdata={
"api_result": 1,
"api_result_msg": "成功",
"api_data": {
"api_deck_id": 1,
"api_formation": [
14,
14,
2
],
//cf. http://www.openspc2.org/book/IllustratorCS/normal/016/index.html
//cf. http://www.openspc2.org/book/IllustratorCS/easy/015/index.html
newTxt = prompt(); //任意の文字を入力
txtObj = activeDocument.textArtItems;
for (i=0; i<txtObj.length; i++)
{
txtObj[i].contents += newTxt;
}
@t-f-m
t-f-m / json.txt
Created April 23, 2014 02:06
jsonの一部
"api_hougeki1": {
"api_at_list": [
-1, //攻撃順序
1,
7,
5,
3,
12,
2,
4,
/*
* Please write the below line into .vimperatorrc.
* let g:twittperator_plugin_rtrt = 1
*
*/
/*
* idea by http://esuji5.hateblo.jp/entry/2014/04/01/233633
*/
(function () {
最初のテキスト
改変してみる
もひとつ追記
@t-f-m
t-f-m / tombfix.service.capture.covreingframes.js
Created December 19, 2013 21:02
キャプチャ時にembedないしobjectを含むiframe、frameにカバーをかける(※作りかけ)
(function(){
var advice = function(proceed, args, target, methodName){
var ctx = args[0];
makeOpaqueFlash(ctx.document);
var doc = ctx.document;
innerDocs = $x('//*[self::iframe or self::frame]', doc, true);
innerDocs.forEach(function(frame){
if($x('//*[self::embed or self::object]', frame.contentWindow.document, true).length){
var style = window.getComputedStyle(frame);
@t-f-m
t-f-m / imas_cg_solo_live_supporter.user.js
Last active December 18, 2015 00:09
モバマス単騎凸サポーター
// ==UserScript==
// @name mbga single attack supporter
// @namespace http://d.hatena.ne.jp/t_f_m/
// @include http://sp.pf.mbga.jp/12008305/*
// ==/UserScript==
var api = 'http://dojo.sekai.in/api/2/query.json';
// thanks for @sekai67
// http://momoka-sakurai.com/docs/dojolist_api_v2.html
var domain = 'http://sp.pf.mbga.jp/12008305/';
var params = '?url=http%3A%2F%2F125.6.169.35%2Fidolmaster%2Fbattles%2Fbattle_check%2F';
@t-f-m
t-f-m / autopagerize.user.js
Created March 10, 2013 13:33
AutoPagerize for greasemonkey siteinfoを山ほど書きたしたローカルのバックアップ
// ==UserScript==
// @name AutoPagerize
// @namespace http://swdyh.yu.to/
// @description loading next page and inserting into current page.
// @include http://*
// @include https://*
// @exclude https://mail.google.com/*
// @exclude http://b.hatena.ne.jp/*
// @exclude http://www.facebook.com/plugins/like.php*
// @exclude http://api.tweetmeme.com/button.js*
@t-f-m
t-f-m / LDRize.20120610.diff
Created June 10, 2012 18:02
LDRizeをFirefox13で動かす
diff --git a/LDRize.user.js b/LDRize_mod.user.js
index 128fa25..ae7cabd 100644
--- a/LDRize.user.js
+++ b/LDRize_mod.user.js
@@ -7,7 +7,7 @@
// @include file:///*
// ==/UserScript==
-const SCRIPT_VERSION = "2011.11.11" //sharedObject
+const SCRIPT_VERSION = "2012.06.10" //sharedObject and RegExp
@t-f-m
t-f-m / autopagerize_filter_for_.user.js
Created May 6, 2012 19:26 — forked from kurumigi/autopagerize_filter_for_.user.js
[GM script]AutoPagerize Filter for NAVER matome / NAVERまとめに、AutoPagerizeが適用されるようにします。
// ==UserScript==
// @name AutoPagerize Filter for NAVER matome
// @namespace http://d.hatena.ne.jp/kurumigi/
// @description NAVERまとめに、AutoPagerizeが適用されるようにします。(Apply "AutoPagerize" to NAVER matome.)
// @include http://matome.naver.jp/*
// @include http://matome.naver.jp/odai/*
// @version 0.1
// ==/UserScript==
// Idea of this script based on "misc.AutoPagerize"(http://d.hatena.ne.jp/os0x/20090109/1231489489).