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== | |
// @name Japan Post Redelivery | |
// @description Fix usability issues on the Japan Post redelivery website | |
// @author mirka | |
// @include https://trackings.post.japanpost.jp/services/srv/search/direct* | |
// @include https://trackings.post.japanpost.jp/delivery/deli/* | |
// @namespace http://jaguchi.com | |
// @version 1.1 | |
// ==/UserScript== |
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== | |
// @name Spotify Links On iTunes | |
// @description Add a Spotify link and embedded player on iTunes album/artist pages | |
// @author mirka | |
// @include https://itunes.apple.com/*/artist/* | |
// @include https://itunes.apple.com/artist/* | |
// @include https://itunes.apple.com/*/album/* | |
// @include https://itunes.apple.com/album/* | |
// @namespace http://jaguchi.com | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js |
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== | |
// @name Tabelog Smoking Alert | |
// @description 食べログの禁煙・喫煙情報を目立たせる | |
// @author mirka | |
// @include https://tabelog.com/* | |
// @namespace http://jaguchi.com | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js | |
// @grant GM_addStyle | |
// @version 1.3.1 | |
// ==/UserScript== |
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== | |
// @name AutoDownloader JP | |
// @description 規約同意ページ等を飛ばしてファイルを自動ダウンロード (対応サイト: Firestorage, 宅ふぁいる便, FilePost, GigaFile便, おくりん坊, データ便) | |
// @author mirka | |
// @include http://firestorage.jp/download/* | |
// @include http://firestorage.jp/index.cgi* | |
// @include http://xfs.jp/* | |
// @include https://www.filesend.to/filedn/* | |
// @include https://taku.filesend.to/* | |
// @include https://free.filesend.to/* |
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
// Given no arguments, returns array [charsPerLine, linesPerColumn] of the | |
// text frame. To set the text frame grid dimensions to a different size, | |
// supply an argument in the same array format. Value of 0 will make no changes. | |
TextFrame.prototype.gridDimensions = | |
function gridDimensions(charLineArray /* optional */) { | |
var f = this; | |
var originalUnit = app.scriptPreferences.measurementUnit; | |
var g; | |
function frameIsVertical() { |
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
.username s { | |
display: none; | |
} | |
.username b { | |
font-weight: bold; | |
font-size: 14px; | |
color: #333; | |
} |
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
#target indesign | |
var sp = app.scriptPreferences; | |
var vp = app.documents[0].isValid ? | |
document.viewPreferences : app.viewPreferences; | |
function randomizeSettings() { | |
var unitArray = [ | |
MeasurementUnits.POINTS, | |
MeasurementUnits.PICAS, |
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
property resolution : 10 (* Increase for smoother fades. Default: 10 *) | |
property delayIncr : 0.2 (* Decrease for faster fades. Default: 0.2 *) | |
tell application "iTunes" | |
set originalVol to sound volume | |
set volIncr to originalVol div resolution | |
if player state is not playing then | |
set sound volume to 0 | |
play |