eval Hatena::Let
@@ -8,6 +8,7 @@
* @license MIT License http://opensource.org/licenses/MIT
*/
+// if you use in global sites; c.f. http://let.hatelabo.jp/amachang/let/gYC-ypTj2OeXdA
(function () {
// self => edit-button, other => fork-button
// c.f. http://let.hatelabo.jp/noromanba/let/gYC-y5bd9OWBAA
@@ -29,4 +30,4 @@
document.body.appendChild(s);
}, false);
-})();
+})();
/*
* @title Run Hatena::Let
* @description silent eval in Hatena::Let
* @include http://let.hatelabo.jp/*
* @contributor mafucode http://let.hatelabo.jp/mafucode/let/gYC-y5XlrOu8fA
* @contributor taizooo http://let.hatelabo.jp/taizooo/let/gYC-x5a6kcvwTQ (Fork of)
* @author noromanba http://let.hatelabo.jp/noromanba/let/gYC-y5bd55apeg
* @license MIT License http://opensource.org/licenses/MIT
*/
// if you use in global sites; c.f. http://let.hatelabo.jp/amachang/let/gYC-ypTj2OeXdA
(function () {
// self => edit-button, other => fork-button
// c.f. http://let.hatelabo.jp/noromanba/let/gYC-y5bd9OWBAA
var a = document.querySelector('a.edit-link[href]');
if (!a) return;
var b = a.cloneNode();
b.href = 'javascript:void 0';
b.textContent = '|>RUN';
b.style.backgroundColor = '#6699FF';
b.style.color = 'white';
b.style.backgroundImage = 'url("http://let.hatelabo.jp/images/config-icon-advanced-on.png")';
a.parentNode.insertBefore(b);
b.addEventListener('click', function () {
var s = document.createElement('script');
s.charset = 'utf-8';
s.src = location.href + '.loader.js';
document.body.appendChild(s);
}, false);
})();
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。