View JP106Key.php
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
<?php | |
# 宇宙語・みかか語変換 | |
# ぺたちゃ用に作りました | |
# UTF-8 向けです | |
/* | |
mb_internal_encoding('UTF-8'); | |
require_once('./JP106Key.php'); |
View hb_mp3_audio.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
(function() { | |
// モバイル端末で viewport がいい具合に設定されてないと FastClick が発動して AUDIO 要素をタップできなくなる | |
if (!document.querySelector('meta[name="viewport"]')) { | |
var viewport = document.createElement('meta'); | |
viewport.setAttribute('name', 'viewport'); | |
viewport.setAttribute('content', 'width=device-width,initial-scale=1.0'); | |
document.querySelector('head').appendChild(viewport); | |
} |
View hb_mml_player.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
// 元のは Ten.js ないと動かなかった & d.hatena.ne.jp でしか読み込めなかった | |
(function() { | |
if (typeof(Hatena) == 'undefined') Hatena = {}; | |
if (typeof(Hatena.MMLPlayer) == 'function') return; | |
var hatenaD = 'http://d.hatena.ne.jp/images/'; | |
var buttonCSS = { 'cursor': 'pointer', 'margin-right': '4px' }; | |
Hatena.MMLPlayer = function(mmlCode) { |
View hatenablog_q_cite_expander.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
/* | |
http://hatenadiary.g.hatena.ne.jp/keyword/%E5%BC%95%E7%94%A8%E5%85%83%E3%82%B5%E3%82%A4%E3%83%88%E3%82%92%E8%87%AA%E5%8B%95%E7%9A%84%E3%81%AB%E8%A1%A8%E7%A4%BA%E3%81%99%E3%82%8B%EF%BC%88cite%E3%80%81title%E5%B1%9E%E6%80%A7%EF%BC%89 | |
q の cite がはてなブログで展開されないので書きました。 | |
*/ | |
document.addEventListener('DOMContentLoaded', function() { | |
Array.prototype.forEach.call(document.querySelectorAll('q[cite]'), function(node) { | |
var cite = document.createElement('cite'); | |
var a = document.createElement('a'); | |
a.setAttribute('href', node.getAttribute('cite')); |
View auto_nya-n_s_rec.user.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 auto nya-n (unlock by speech recognition) | |
// @namespace hen.acho.co | |
// @include https://*/web/* | |
// @version 1.170908 | |
// @description nya-n | |
// @downloadURL https://gist.github.com/pacochi/4295d00d6368c53921047d2a90dca8b5/raw/auto_nya-n_s_rec.user.js | |
// @run-at document-idle | |
// @grant none | |
// ==/UserScript== |
View pawoomusic_deck_sp.user.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 Pawoo Music deck bar for smartphone | |
// @namespace hen.acho.co | |
// @include https://music.pawoo.net/web/* | |
// @version 1.170911 | |
// @description You can add music from your smartphone. | |
// @downloadURL https://gist.github.com/pacochi/28e1533e3ca025350d919cb2d755ade4/raw/pawoomusic_deck_sp.user.js | |
// @run-at document-idle | |
// @grant none | |
// ==/UserScript== |
View mastodon_plane_zoom.user.css
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
.drawer__inner > .drawer__inner__mastodon { | |
transition: 0.5s; | |
} | |
.drawer__inner > .drawer__inner__mastodon:hover { | |
margin-top: -145px; | |
min-height: 192px; | |
} |
View pixiv-replace-pawoo-with-webmastodon.user.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 Pixiv - Replace "Pawooでシェア" with web+mastodon button | |
// @namespace hen.acho.co | |
// @version 0.3.180526 | |
// @conrtibutor unarist https://gist.github.com/unarist/79068e361c8cf69af4b7a520914e1259 | |
// @downloadURL https://gist.github.com/pacochi/30007cd93754d6e45e7942f0139a59da/raw/pixiv-replace-pawoo-with-webmastodon.user.js | |
// @match https://www.pixiv.net/bookmark_add.php?* | |
// @match https://www.pixiv.net/member_illust.php?* | |
// @match https://www.pixiv.net/novel/bookmark_add.php?* | |
// @match https://www.pixiv.net/novel/show.php?* |
View mastodon_misskey_pudding.user.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 [Mastodon] This is not ⭐, but 🍮! | |
// @namespace hen.acho.co | |
// @include https://*/web/* | |
// @version 1.180415 | |
// @description replace misskey's star button with pudding | |
// @downloadURL https://gist.github.com/pacochi/7a529cc0a344ba90e7b764f944e037e0/raw/mastodon_misskey_pudding.user.js | |
// @run-at document-idle | |
// @grant none | |
// ==/UserScript== |
OlderNewer