「任意の時間が経過したあとに音が鳴るようにするブックマークレットがほしいなぁ」と思って作りました。 以下のリンクをブックマークレットに追加するだけです。 ブックマークレット 以下、ソースです。 全体: スコープを汚さないために、(function(){})()で囲っています。(ブックマークレットを作る場合は常識) 3行目: base64の部分を任意に書き換えることで、自分の好きな音を鳴らすことができます。 (「base64 音 変換」などのワードでググると変換サイトが出てくると思います) 13行目: 30の部分を変更することで、デフォルト値(30秒)を変更することができます。 14~15行目: 全角数字が入力された場合でも、半角数字に自動変換するようにしています。 18行目: 非数(全角数字でも半角数字でもない)の場合は数字ではありませんというアラートが表示されます。 おわり