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 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 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 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 mastodon_timeline_filter.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_timeline_filter | |
// @namespace hen.acho.co | |
// @include https://*/web/* | |
// @version 1.170601 | |
// @description RegExp filter for FTL & LTL | |
// @downloadURL https://gist.github.com/pacochi/0249d7c40e723a56c87e39873504268b/raw/mastodon_timeline_filter.user.js | |
// @run-at document-idle | |
// @grant none | |
// ==/UserScript== |
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_animate_emoji.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] animate emoji on static pages | |
// @namespace hen.acho.co | |
// @include /^https?:\/\/[^\/]+\/(?:@\w+|users\/\w+\/(?:statuses|updates))\/\d+/ | |
// @version 1.200804 | |
// @description We can 👀 animated emoji without logging in! | |
// @downloadURL https://gist.github.com/pacochi/d1a8e019fdfc02235df7686af62d9895/raw/mastodon_animate_emoji.user.js | |
// @run-at document-idle | |
// @grant none | |
// ==/UserScript== |
View mastodon_spc2zwsp.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] add "space → zero width space" button | |
// @namespace hen.acho.co | |
// @include https://*/web/* | |
// @version 2.210603 | |
// @description make custom emoji fit snugly | |
// @downloadURL https://gist.github.com/pacochi/ae6714d1c71a8ef52a3d5a3407886e94/raw/mastodon_spc2zwsp.user.js | |
// @run-at document-idle | |
// @grant none | |
// ==/UserScript== |
View like2choco4mstdn.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
/* ==UserStyle== | |
@name like2choco4mstdn | |
@namespace hen.acho.co | |
@version 1.0.0 | |
@description ⭐→🍫 | |
@author pacochi | |
==/UserStyle== */ | |
.fa-star::before { | |
background: url(https://twemoji.maxcdn.com/72x72/1f36b.png); |
OlderNewer