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
//First: > mobamas.startById( < my id > ); | |
//ajax called twice. When finished it... | |
// | |
//Second: > mobamas.scanUserList(); | |
//ajax called many times. When finished it... | |
// | |
//Third: > mobamas.cheeringForAll(); | |
//Cheer! Cheer! | |
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
// ==UserScript== | |
// @match http://sp.pf.mbga.jp/12008305/* | |
// ==/UserScript== | |
// | |
(function viewRateOfCost(){ | |
$("table").find("span:contains('コスト:')").parent().each(function(){ | |
var t = $(this); | |
var text = t.text(); |
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
{ | |
"manifest_version": 2, | |
"name": "Mobamas-Status", | |
"version": "1.0", | |
"description": "mobamas", | |
"browser_action":{ | |
"default_icon": "favicon.ico" | |
}, | |
"permissions":[ | |
"http://sp.pf.mbga.jp/12008305/" |
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
var djs = {};//Default setting JavaScript | |
djs.w = window; | |
djs.d = djs.w.document; | |
//IEでconsole未定義エラーを出さないようにする。 | |
(function(win){ | |
if(!win.console){ | |
win.console = {}; | |
} |
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
[browse-remote "bitbucket.org"] | |
top = https://{host}/{path} | |
ref = https://{host}/{path}/src/?at={short_ref} | |
rev = https://{host}/{path}/changeset/{commit} |
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
var i = $(".MTMItemThumb").parent(); | |
var b = $("body"); | |
b.empty(); | |
i.each(function(){ | |
b.append($(this)); | |
}); |
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
//12/17 11:30頃に確認した結果 | |
//自由民主党 16,624,457票 27.62% 57議席 31.66% | |
//日本維新の会 12,262,228票 20.37% 40議席 22.22% | |
//民主党 9,628,653票 15.99% 30議席 16.66% | |
//公明党 7,116,474票 11.82% 22議席 12.22% | |
//みんなの党 5,245,586票 8.71% 14議席 7.77% | |
//日本共産党 3,689,159票 6.13% 8議席 4.44% | |
//日本未来の党 3,423,915票 5.68% 7議席 3.88% | |
//社会民主党 1,420,790票 2.36% 1議席 1.11% | |
//新党大地 346,848票 0.57% 1議席 1.11% |
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
var textFrame = activeDocument.selection[0]; | |
if(textFrame && textFrame.characters && textFrame.characters.length > 0){ | |
var textContent = textFrame.contents; | |
var fonts = app.textFonts; | |
var len = fonts.length; | |
var width = 270; | |
var height = 24; |
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
(function(){ | |
//load jQuery | |
var loadjq = document.createElement("script"); | |
loadjq.type = "text/javascript"; | |
loadjq.src = "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"; | |
document.body.appendChild(loadjq); | |
})(); |
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
//need jQuery | |
//reference to gist:6577862 | |
var ch = {}; //cookie hacker | |
ch.onEnterFrame = function(){ | |
ch.clicker(); | |
ch.upgrade(); | |
ch.buyBestProduct(); | |
ch.goldenCookieeeeee(); | |
}; |
OlderNewer