// ==UserScript== // @name preGet // @namespace http://d.hatena.ne.jp/javascripter/ // @include http* // ==/UserScript== function insertDownloadLink(doc){ var pre = doc.getElementsByTagName('pre'); Array.forEach(pre, function(pre){ var a = document.createElement('a'); a.href=toDataURI(pre.textContent); a.textContent = 'download'; pre.parentNode.insertBefore(a,pre); }); } insertDownloadLink(documen
シンタックスハイライトなどのスクリプトを導入しているページで、li要素を含むものをコピーすると、行番号が入ってしまってそのまま実行することができない場合がある。 下のスクリプトを使うとそういったことが起こらなくなる。 // ==UserScript== // @name listOkCopyHelper // @namespace http://d.hatena.ne.jp/javascripter/ // @include http* // ==/UserScript== window.addEventListener('copy',onCopy,false); function onCopy(){ var selection = window.getSelection(), ranges = []; for (var i = 0;i < selection.rangeCount;i++
The Twittelator Twitter Client Family: Free / Pro / iPad / Neue Neue redefines the Twitter experience Pro has the most features and maturity! Free is for folks who don’t want to pay! iPad is made expressly for the iPad neuefeaturesscreensravesnews FAQtips Help API Featured at top of 16 Hottest Apps Summer 2009 - WSJ/NYT2012 - Hotter still Twittelator Feature List Neue Pro iPad FREE English, Españo
ただいまの操作はお受けできませんでした。 再度操作してください。 電子版 トップへ Nikkei Inc. No reproduction without permission.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く