Skip to content

Instantly share code, notes, and snippets.

@oflow
oflow / nemui.js
Created June 16, 2014 06:53
ねむい
alert('めっちょねむい');
@oflow
oflow / 17sai.user.js
Last active August 29, 2015 14:00
17sai.user.js
// -*- coding: utf-8 -*-
// ==UserScript==
// @name They are all 17 years old
// @author HIRATA Yasuyuki <yasu@asuka.net>
// @namespace http://yasu.asuka.net/
// @version 1.1.1
// @include http://www.google.tld/search?*
// @include https://www.google.tld/search?*
// @include https://www.google.tld/webhp?*
// @include https://www.google.tld/#q=*
@oflow
oflow / dotinstall_auto_play.user.js
Created August 17, 2012 08:40
ドットインストールとかいうサイトの動画を自動再生
// ==UserScript==
// @name dotinstall auto play
// @description Youtube Player API使った(autoplay=1になってない)動画を自動再生のURLに置換する
// @include http://dotinstall.com/lessons/*
// ==/UserScript
/* 1クリックが面倒くさい… */
window.addEventListener('load', function() {
var player = document.getElementById('youtube_api_player');
if (player && player.src.indexOf('autoplay=1') == -1) player.src += '&autoplay=1';
@oflow
oflow / instagram_auto_expand.user.js
Created August 17, 2012 07:25
Instagramのコメントのところ開いとく
// ==UserScript==
// @name Instagram auto expand
// @description Instagramのコメントのところ開いとく
// @include http://instagram.com/p/*
// ==/UserScript
(function() {
document.getElementsByTagName('body')[0].className += ' media-open';
})();