くっつけまゆげ
by
pacochi
2010-07-23 [2010/07/23 10:24:32]
まゆげがくっつきます。まゆげを選択してから実行して下さい。 (IE8 にも対応しました。) http://r.nanapi.jp/694/
@@ -1,6 +1,6 @@
/*
* @title くっつけまゆげ
- * @description まゆげがくっつきます。まゆげを選択してから実行して下さい。 http://r.nanapi.jp/694/
+ * @description まゆげがくっつきます。まゆげを選択してから実行して下さい。 (IE8 対応) http://r.nanapi.jp/694/
* @include http://*
* @license MIT License
*/
@@ -9,6 +9,6 @@
(function() {
var p = document.selection ? document.selection.createRange().parentElement() : window.getSelection().anchorNode;
-if (p) ((p.nodeName == "#text") ? p.parentNode : p).style.fontFamily = "'にせねこフォント', " + ((document.documentMode == 8) ? "Tahoma" : "'Arial Unicode MS'");
+if (p) ((p.nodeName == "#text") ? p.parentNode : p).style.fontFamily = (document.documentMode == 8) ? "Tahoma" : "'Arial Unicode MS'";
})();
/*
* @title くっつけまゆげ
* @description まゆげがくっつきます。まゆげを選択してから実行して下さい。 (IE8 対応) http://r.nanapi.jp/694/
* @include http://*
* @license MIT License
*/
(function() {
var p = document.selection ? document.selection.createRange().parentElement() : window.getSelection().anchorNode;
if (p) ((p.nodeName == "#text") ? p.parentNode : p).style.fontFamily = (document.documentMode == 8) ? "Tahoma" : "'Arial Unicode MS'";
})();
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。